mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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 )
|
||||
return;
|
||||
|
||||
$sidebars_widgets = wp_get_sidebars_widgets();
|
||||
|
||||
if ( isset($_POST['delete_widget']) && $_POST['delete_widget'] ) {
|
||||
// Delete the settings for this instance of the widget
|
||||
if ( isset($_POST['the-widget-id']) )
|
||||
|
Loading…
Reference in New Issue
Block a user