mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7b3569ab29
commit
c774b1b42d
@ -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' );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user