Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (5 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/custom-background.php

    r45411 r45583  
    257257        } else {
    258258            $background_styles = '';
    259             if ( $bgcolor = get_background_color() ) {
     259            $bgcolor           = get_background_color();
     260            if ( $bgcolor ) {
    260261                $background_styles .= 'background-color: #' . $bgcolor . ';';
    261262            }
Note: See TracChangeset for help on using the changeset viewer.