Remove reference to unused global. props jdgrimes. fixes #24807.

git-svn-id: http://core.svn.wordpress.org/trunk@24978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-08-05 21:42:48 +00:00
parent 487327cf4e
commit 6a01479ba1

View File

@ -1008,7 +1008,7 @@ function wp_get_sidebars_widgets($deprecated = true) {
if ( $deprecated !== true ) if ( $deprecated !== true )
_deprecated_argument( __FUNCTION__, '2.8.1' ); _deprecated_argument( __FUNCTION__, '2.8.1' );
global $wp_registered_widgets, $_wp_sidebars_widgets, $sidebars_widgets; global $_wp_sidebars_widgets, $sidebars_widgets;
// If loading from front page, consult $_wp_sidebars_widgets rather than options // If loading from front page, consult $_wp_sidebars_widgets rather than options
// to see if wp_convert_widget_settings() has made manipulations in memory. // to see if wp_convert_widget_settings() has made manipulations in memory.