From fdbc800dcc3449e68c79949e847981c02d406e86 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 18 Jun 2011 15:05:46 +0000 Subject: [PATCH] Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781. git-svn-id: https://develop.svn.wordpress.org/trunk@18320 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index b6bba78c48..a488baf84d 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -944,7 +944,7 @@ function do_meta_boxes($page, $context, $object) { if ( !$already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) { foreach ( $sorted as $box_context => $ids ) { foreach ( explode(',', $ids ) as $id ) { - if ( $id ) + if ( $id && 'dashboard_browser_nag' !== $id ) add_meta_box( $id, null, null, $page, $box_context, 'sorted' ); } }