WordPress.org

Make WordPress Core

Ticket #16341: 16341.patch

File 16341.patch, 821 bytes (added by SergeyBiryukov, 3 years ago)
  • 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<?php if ( ! empty($_REQUEST['orderby']) ) : ?> 
     250<input type="hidden" name="orderby" value="<?php echo esc_attr($_REQUEST['orderby']); ?>" /> 
     251<?php endif; ?> 
     252<?php if ( ! empty($_REQUEST['order']) ) : ?> 
     253<input type="hidden" name="order" value="<?php echo esc_attr($_REQUEST['order']); ?>" /> 
     254<?php endif; ?> 
    249255 
    250256<?php $wp_list_table->display(); ?> 
    251257