Remove reference to unused variable. fixes #24965.
git-svn-id: http://core.svn.wordpress.org/trunk@24988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
55d3e33a56
commit
b7c13e27c2
|
@ -1165,7 +1165,7 @@ function _wp_sidebars_changed() {
|
||||||
|
|
||||||
// look for "lost" widgets, this has to run at least on each theme change
|
// look for "lost" widgets, this has to run at least on each theme change
|
||||||
function retrieve_widgets($theme_changed = false) {
|
function retrieve_widgets($theme_changed = false) {
|
||||||
global $wp_registered_widget_updates, $wp_registered_sidebars, $sidebars_widgets, $wp_registered_widgets;
|
global $wp_registered_sidebars, $sidebars_widgets, $wp_registered_widgets;
|
||||||
|
|
||||||
$registered_sidebar_keys = array_keys( $wp_registered_sidebars );
|
$registered_sidebar_keys = array_keys( $wp_registered_sidebars );
|
||||||
$orphaned = 0;
|
$orphaned = 0;
|
||||||
|
|
Loading…
Reference in New Issue