Making WordPress.org

Changeset 12444


Ignore:
Timestamp:
03/02/2023 04:36:25 PM (2 years ago)
Author:
paulkevan
Message:

Revert https://github.com/WordPress/wordpress.org/pull/127

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    r12442 r12444  
    526526
    527527        // Handle the old plugin tabs URLs.
    528         add_rewrite_rule( '^extend/plugins/([^/]+)/(installation|faq|screenshots|changelog|stats|developers|other_notes)/?$', 'index.php?redirect_plugin=$matches[1]&redirect_plugin_tab=$matches[2]', 'top' );
     528        add_rewrite_rule( '^([^/]+)/(installation|faq|screenshots|changelog|stats|developers|other_notes)/?$', 'index.php?redirect_plugin=$matches[1]&redirect_plugin_tab=$matches[2]', top );
    529529
    530530        // Handle content for broken clients that send #'s to the server
Note: See TracChangeset for help on using the changeset viewer.