From 84ff7671a85d2e64d1a727a0206352fb24294e66 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 18 Jun 2010 05:37:45 +0000 Subject: [PATCH] Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@15277 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 6268f452a0..ae12f992d8 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1629,7 +1629,7 @@ function add_theme_support( $feature ) { */ function remove_theme_support( $feature ) { // Blacklist: for internal registrations not used directly by themes. - if ( in_array( $feature, array( 'custom-background', 'custom-header', 'editor-style', 'widgets' ) ) ) + if ( in_array( $feature, array( 'custom-background', 'custom-header', 'editor-style', 'widgets', 'menus' ) ) ) return false; global $_wp_theme_features;