mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +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:
@@ -256,7 +256,8 @@ class Custom_Background {
|
||||
call_user_func( $this->admin_image_div_callback );
|
||||
} else {
|
||||
$background_styles = '';
|
||||
if ( $bgcolor = get_background_color() ) {
|
||||
$bgcolor = get_background_color();
|
||||
if ( $bgcolor ) {
|
||||
$background_styles .= 'background-color: #' . $bgcolor . ';';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user