mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +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:
@@ -254,7 +254,8 @@ if ( isset( $_GET['editwidget'] ) && $_GET['editwidget'] ) {
|
||||
$control_callback = $control['callback'];
|
||||
$multi_number = (int) $_GET['num'];
|
||||
$control['params'][0]['number'] = -1;
|
||||
$widget_id = $control['id'] = $control['id_base'] . '-' . $multi_number;
|
||||
$control['id'] = $control['id_base'] . '-' . $multi_number;
|
||||
$widget_id = $control['id'];
|
||||
$wp_registered_widget_controls[ $control['id'] ] = $control;
|
||||
break;
|
||||
}
|
||||
@@ -498,7 +499,8 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
|
||||
</div>
|
||||
<?php
|
||||
|
||||
$i = $split = 0;
|
||||
$i = 0;
|
||||
$split = 0;
|
||||
$single_sidebar_class = '';
|
||||
$sidebars_count = count( $theme_sidebars );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user