Make WordPress Core

Ticket #15920: 15920.4.diff

File 15920.4.diff, 1.4 KB (added by PeteMall, 14 years ago)
  • wp-admin/network/themes.php

     
    2828$s = isset($_REQUEST['s']) ? $_REQUEST['s'] : '';
    2929
    3030// Clean up request URI from temporary args for screen options/paging uri's to work as expected.
    31 $temp_args = array( 'enabled', 'disabled', 'deleted', 'error', 'enabled', 'disabled', 'deleted', 'error' );
     31$temp_args = array( 'enabled', 'disabled', 'deleted', 'error' );
    3232$_SERVER['REQUEST_URI'] = remove_query_arg( $temp_args, $_SERVER['REQUEST_URI'] );
    3333$referer = remove_query_arg( $temp_args, wp_get_referer() );
    3434
  • wp-admin/network/site-themes.php

     
    3939$s = isset($_REQUEST['s']) ? $_REQUEST['s'] : '';
    4040
    4141// Clean up request URI from temporary args for screen options/paging uri's to work as expected.
    42 $temp_args = array( 'enabled', 'disabled', 'deleted', 'error', 'enabled', 'disabled', 'deleted', 'error' );
     42$temp_args = array( 'enabled', 'disabled', 'error' );
    4343$_SERVER['REQUEST_URI'] = remove_query_arg( $temp_args, $_SERVER['REQUEST_URI'] );
    4444$referer = remove_query_arg( $temp_args, wp_get_referer() );
    4545