WordPress.org

Make WordPress Core

Changeset 15277


Ignore:
Timestamp:
06/18/10 05:37:45 (4 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r15235 r15277  
    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.