WordPress.org

Make WordPress Core

Ticket #13935: 13935.diff

File 13935.diff, 591 bytes (added by nacin, 8 years ago)
  • wp-includes/theme.php

     
    16291629 */
    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
    16351635        global $_wp_theme_features;