WordPress.org

Make WordPress Core

Ticket #16341: 16341.diff

File 16341.diff, 761 bytes (added by scribu, 4 years ago)

for edit.php

  • wp-admin/edit.php

     
    246246 
    247247<input type="hidden" name="post_status" class="post_status_page" value="<?php echo !empty($_REQUEST['post_status']) ? esc_attr($_REQUEST['post_status']) : 'all'; ?>" /> 
    248248<input type="hidden" name="post_type" class="post_type_page" value="<?php echo $post_type; ?>" /> 
     249<input type="hidden" name="orderby" value="<?php echo isset( $_REQUEST['orderby'] ) ? esc_attr( $_REQUEST['orderby'] ) : ''; ?>" /> 
     250<input type="hidden" name="order" value="<?php echo isset( $_REQUEST['order'] ) ? esc_attr( $_REQUEST['order'] ) : ''; ?>" /> 
    249251 
    250252<?php $wp_list_table->display(); ?> 
    251253