WordPress.org

Make WordPress Core

Changeset 15276


Ignore:
Timestamp:
06/18/2010 05:36:52 AM (8 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/theme.php

    r15235 r15276  
    16301630function remove_theme_support( $feature ) {
    16311631    // Blacklist: for internal registrations not used directly by themes.
    1632     if ( in_array( $feature, array( 'custom-background', 'custom-header', 'editor-style', 'widgets' ) ) )
     1632    if ( in_array( $feature, array( 'custom-background', 'custom-header', 'editor-style', 'widgets', 'menus' ) ) )
    16331633        return false;
    16341634
Note: See TracChangeset for help on using the changeset viewer.