From d30ef21e80ba2320050f2870029afe2574b1fbaf Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 21 Nov 2010 13:48:35 +0000 Subject: [PATCH] Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876, #15493. git-svn-id: http://svn.automattic.com/wordpress/trunk@16521 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/widgets.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 7ec8fd72a..4c6d4f448 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -995,9 +995,6 @@ function wp_get_sidebars_widgets($deprecated = true) { if ( $deprecated !== true ) _deprecated_argument( __FUNCTION__, '2.8.1' ); - if ( ! current_theme_supports( 'widgets' ) ) - return array(); - global $wp_registered_widgets, $wp_registered_sidebars, $_wp_sidebars_widgets; // If loading from front page, consult $_wp_sidebars_widgets rather than options