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:
Scott Taylor 2014-05-07 03:51:31 +00:00
parent f945487f45
commit e47eb14575

View File

@ -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']) )