mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-05 16:08:12 +01:00
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:
parent
b2a312d1e5
commit
5f8dc97924
@ -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