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

git-svn-id: http://svn.automattic.com/wordpress/trunk@13690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-03-13 07:40:50 +00:00
parent b2a312d1e5
commit 5f8dc97924
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 ?>