Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876, #15493.

git-svn-id: https://develop.svn.wordpress.org/trunk@16521 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-11-21 13:48:35 +00:00
parent 6843c0fa3c
commit 9a53e46ff5
1 changed files with 0 additions and 3 deletions

View File

@ -995,9 +995,6 @@ 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' );
if ( ! current_theme_supports( 'widgets' ) )
return array();
global $wp_registered_widgets, $wp_registered_sidebars, $_wp_sidebars_widgets; global $wp_registered_widgets, $wp_registered_sidebars, $_wp_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