mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +01:00
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:
parent
487327cf4e
commit
6a01479ba1
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user