WordPress.org

Make WordPress Core

Ticket #16355: 16355.patch

File 16355.patch, 687 bytes (added by SergeyBiryukov, 5 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['show_sticky']) ) : ?> 
     250<input type="hidden" name="show_sticky" value="<?php echo esc_attr( absint($_REQUEST['show_sticky']) ); ?>" /> 
     251<?php endif; ?> 
    249252 
    250253<?php $wp_list_table->display(); ?> 
    251254