Improve QE data for Draft, Pending and Scheduled posts screens, see #10478

git-svn-id: https://develop.svn.wordpress.org/trunk@11743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-07-25 12:21:55 +00:00
parent ffbb2b7b5f
commit c7b3be84cf
5 changed files with 8 additions and 23 deletions

View File

@@ -169,9 +169,7 @@ endif;
<input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" />
</p>
<?php if ( isset($_GET['post_status'] ) ) : ?>
<input type="hidden" name="post_status" value="<?php echo esc_attr($_GET['post_status']) ?>" />
<?php endif; ?>
<input type="hidden" name="post_status" class="post_status_page" value="<?php echo !empty($_GET['post_status']) ? esc_attr($_GET['post_status']) : 'all'; ?>" />
<input type="hidden" name="mode" value="<?php echo esc_attr($mode); ?>" />
<?php if ( have_posts() ) { ?>