Changeset 3547 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
- Timestamp:
- 06/22/2016 02:39:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3521 r3547 237 237 add_rewrite_rule( '^browse/favorites/([^/]+)$', 'index.php?browse=favorites&favorites_user=$matches[1]', 'top' ); 238 238 239 // Add duplicate search rule which will be hit before the following old-plugin tab rules 240 add_rewrite_rule( '^search/(.+)/?$', 'index.php?s=$matches[1]', 'top' ); 241 239 242 // Handle the old plugin tabs URLs. 240 add_rewrite_rule( '^([^/]+)/(installation|faq|screenshots|changelog|stats|developers|other_notes) $', 'index.php?redirect_plugin_tab=$matches[1]/#$matches[2]', 'top' );243 add_rewrite_rule( '^([^/]+)/(installation|faq|screenshots|changelog|stats|developers|other_notes)/?$', 'index.php?redirect_plugin_tab=$matches[1]/#$matches[2]', 'top' ); 241 244 242 245 // If changing capabilities around, uncomment this.
Note: See TracChangeset
for help on using the changeset viewer.