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:
parent
05889a6180
commit
fa7d038cae
@ -162,8 +162,6 @@ $is_trash = ( isset($_GET['status']) && $_GET['status'] == 'trash' );
|
|||||||
|
|
||||||
wp_enqueue_script('media');
|
wp_enqueue_script('media');
|
||||||
require_once('admin-header.php');
|
require_once('admin-header.php');
|
||||||
|
|
||||||
do_action('restrict_manage_posts');
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
@ -332,6 +330,8 @@ foreach ($arc_result as $arc_row) {
|
|||||||
</select>
|
</select>
|
||||||
<?php endif; // month_count ?>
|
<?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" />
|
<input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" />
|
||||||
|
|
||||||
<?php } // ! is_singular ?>
|
<?php } // ! is_singular ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user