In `WP_Widget::update_callback()`, `$sidebars_widgets` is unused.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28338 git-svn-id: http://core.svn.wordpress.org/trunk@28166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
49251efc74
commit
06373a6f32
|
@ -238,8 +238,6 @@ class WP_Widget {
|
||||||
if ( $this->updated )
|
if ( $this->updated )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$sidebars_widgets = wp_get_sidebars_widgets();
|
|
||||||
|
|
||||||
if ( isset($_POST['delete_widget']) && $_POST['delete_widget'] ) {
|
if ( isset($_POST['delete_widget']) && $_POST['delete_widget'] ) {
|
||||||
// Delete the settings for this instance of the widget
|
// Delete the settings for this instance of the widget
|
||||||
if ( isset($_POST['the-widget-id']) )
|
if ( isset($_POST['the-widget-id']) )
|
||||||
|
|
Loading…
Reference in New Issue