WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r15235 r15436  
    10241024    // Backward compat code will be removed in a future release
    10251025    if ('' == $template)
    1026         $template = WPINC . '/theme-compat/comments-popup.php';
     1026        $template = ABSPATH . WPINC . '/theme-compat/comments-popup.php';
    10271027
    10281028    return apply_filters('comments_popup_template', $template);
     
    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.