WordPress.org

Make WordPress Core

Ticket #16117: 16117-4.diff

File 16117-4.diff, 690 bytes (added by greuben, 3 years ago)

as nacin suggested

  • 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' ); 
     31$temp_args = array( 'enabled', 'disabled', 'deleted', 'error', 'action', 'checked', 'theme_status' ); 
    3232$_SERVER['REQUEST_URI'] = remove_query_arg( $temp_args, $_SERVER['REQUEST_URI'] ); 
    3333$referer = remove_query_arg( $temp_args, wp_get_referer() ); 
    3434