mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 17:13:30 +01:00
In WP_Widget::update_callback()
, $sidebars_widgets
is unused.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28338 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f945487f45
commit
e47eb14575
@ -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…
x
Reference in New Issue
Block a user