mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.
See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1212,7 +1212,8 @@ function do_meta_boxes( $screen, $context, $object ) {
|
||||
printf( '<div id="%s-sortables" class="meta-box-sortables">', esc_attr( $context ) );
|
||||
|
||||
// Grab the ones the user has manually sorted. Pull them out of their previous context/priority and into the one the user chose
|
||||
if ( ! $already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) {
|
||||
$sorted = get_user_option( "meta-box-order_$page" );
|
||||
if ( ! $already_sorted && $sorted ) {
|
||||
foreach ( $sorted as $box_context => $ids ) {
|
||||
foreach ( explode( ',', $ids ) as $id ) {
|
||||
if ( $id && 'dashboard_browser_nag' !== $id ) {
|
||||
|
||||
Reference in New Issue
Block a user