Make WordPress Core

Changeset 25679


Ignore:
Timestamp:
10/03/2013 01:25:24 AM (12 years ago)
Author:
nacin
Message:

Don't let the query string pile up on successive themes.php searches.

props SergeyBiryukov.
fixes #25270.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r25666 r25679  
    1414
    1515$wp_list_table = _get_list_table('WP_Themes_List_Table');
     16
     17$_SERVER['REQUEST_URI'] = remove_query_arg( array( 's', 'features', '_ajax_fetch_list_nonce', '_wp_http_referer', 'paged' ), $_SERVER['REQUEST_URI'] );
    1618
    1719if ( current_user_can( 'switch_themes' ) && isset($_GET['action'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.