Make WordPress Core


Ignore:
Timestamp:
02/29/2008 10:02:49 PM (17 years ago)
Author:
ryan
Message:

Allow searching within a given post status. fixes #5839

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r7109 r7110  
    104104</ul>
    105105
    106 <?php
     106<?php if ( isset($_GET['post_status'] ) ) : ?>
     107<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
     108<?php
     109endif;
     110
    107111if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
    108112<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="post.php?action=edit&amp;post=<?php echo $_GET['posted']; ?>"><?php _e('Edit post'); ?></a></p></div>
Note: See TracChangeset for help on using the changeset viewer.