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
This commit is contained in:
parent
99e5c267c4
commit
84ff7671a8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue