Changeset 9188 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
- Timestamp:
- 10/16/2019 06:09:41 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r9180 r9188 156 156 157 157 // Add the browse/* views 158 add_rewrite_tag( '%browse%', '( featured|popular|new|updated|favorites)' );158 add_rewrite_tag( '%browse%', '([^/]+)' ); 159 159 add_permastruct( 'browse', 'browse/%browse%' ); 160 160 add_rewrite_tag( '%favorites_user%', '([^/]+)' ); 161 //add_permastruct( 'favorites_user', 'browse/favorites/%favorites_user%' ); // TODO: Impl ment in JS before enabling161 //add_permastruct( 'favorites_user', 'browse/favorites/%favorites_user%' ); // TODO: Implement in JS before enabling 162 162 163 163 if ( ! defined( 'WPORG_THEME_DIRECTORY_BLOGID' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.