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
This commit is contained in:
Andrew Nacin 2011-06-18 15:05:46 +00:00
parent 5ef9f551a3
commit fdbc800dcc

View File

@ -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' );
}
}