Changeset 5216 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
- Timestamp:
- 03/30/2017 09:33:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r5211 r5216 446 446 447 447 // Handle redirects for broken clients that send #'s to the server 448 add_rewrite_rule( '^([^/]+)/\#( installation|faq|screenshots|changelog|stats|developers|other_notes)/?$', 'index.php?redirect_plugin=$matches[1]', 'top' );448 add_rewrite_rule( '^([^/]+)/\#(.*)/?$', 'index.php?redirect_plugin=$matches[1]', 'top' ); 449 449 450 450 // If changing capabilities around, uncomment this. 451 451 //Capabilities::add_roles(); 452 452 453 // Rem voe the /admin$ redirect to wp-admin453 // Remove the /admin$ redirect to wp-admin 454 454 remove_action( 'template_redirect', 'wp_redirect_admin_locations', 1000 ); 455 455
Note: See TracChangeset
for help on using the changeset viewer.