Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r45403 r45583  
    12131213
    12141214    // Grab the ones the user has manually sorted. Pull them out of their previous context/priority and into the one the user chose
    1215     if ( ! $already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) {
     1215    $sorted = get_user_option( "meta-box-order_$page" );
     1216    if ( ! $already_sorted && $sorted ) {
    12161217        foreach ( $sorted as $box_context => $ids ) {
    12171218            foreach ( explode( ',', $ids ) as $id ) {
Note: See TracChangeset for help on using the changeset viewer.