From c183e0227766b7f39fcaf9550a0bbafaa58b9aab Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 31 May 2007 02:12:04 +0000 Subject: [PATCH] Move the restrict_manage_posts hook to somewhere more reasonable. see #4359 git-svn-id: https://develop.svn.wordpress.org/trunk@5607 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index ecae267ee8..f6301f6789 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -29,8 +29,6 @@ if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($ wp("what_to_show=posts$post_status_q&posts_per_page=15"); -do_action('restrict_manage_posts'); - // define the columns to display, the syntax is 'internal name' => 'display name' $posts_columns = array( 'id' => '
' . __('ID') . '
', @@ -133,6 +131,8 @@ if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ? + +