From 1dfa7cea6e767cafca324637f28012ebbac1bead Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sun, 21 Feb 2010 01:33:35 +0000 Subject: [PATCH] Move 'restrict_manage_posts' out of category check. Props jfarthing84. Fixes #12310 git-svn-id: https://develop.svn.wordpress.org/trunk@13273 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 67136dd329..7ddb23680f 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -339,8 +339,8 @@ if ( is_object_in_taxonomy($post_type, 'category') ) { $dropdown_options = array('show_option_all' => __('View all categories'), 'hide_empty' => 0, 'hierarchical' => 1, 'show_count' => 0, 'orderby' => 'name', 'selected' => $cat); wp_dropdown_categories($dropdown_options); - do_action('restrict_manage_posts'); } +do_action('restrict_manage_posts'); ?>