WordPress.org

Make WordPress Core

Ticket #16341: 16341.7.patch

File 16341.7.patch, 710 bytes (added by SergeyBiryukov, 5 years ago)
  • wp-admin/includes/class-wp-list-table.php

     
    196196 
    197197                $input_id = $input_id . '-search-input'; 
    198198 
     199                if ( ! empty($_REQUEST['orderby']) ) 
     200                        echo '<input type="hidden" name="orderby" value="' . esc_attr($_REQUEST['orderby']) . '" />'; 
     201                if ( ! empty($_REQUEST['order']) )  
     202                        echo '<input type="hidden" name="order" value="' . esc_attr($_REQUEST['order']) . '" />'; 
    199203?> 
    200204<p class="search-box"> 
    201205        <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>