Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325

git-svn-id: https://develop.svn.wordpress.org/trunk@13690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-03-13 07:40:50 +00:00
parent 05889a6180
commit fa7d038cae
1 changed files with 2 additions and 2 deletions

View File

@ -162,8 +162,6 @@ $is_trash = ( isset($_GET['status']) && $_GET['status'] == 'trash' );
wp_enqueue_script('media');
require_once('admin-header.php');
do_action('restrict_manage_posts');
?>
<div class="wrap">
@ -332,6 +330,8 @@ foreach ($arc_result as $arc_row) {
</select>
<?php endif; // month_count ?>
<?php do_action('restrict_manage_posts'); ?>
<input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" />
<?php } // ! is_singular ?>