Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-18 05:37:45 +00:00
parent 6c8477d684
commit 194181c6e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;