Make WordPress Core

Changeset 13417


Ignore:
Timestamp:
02/25/2010 10:04:59 PM (15 years ago)
Author:
ryan
Message:

Note theme support for custom background, header, and menus. see #11817

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r13403 r13417  
    3131    // This theme needs post thumbnails
    3232    add_theme_support( 'post-thumbnails' );
     33
     34    // This theme uses wp_nav_menu()
     35    add_theme_support( 'nav-menus' );
    3336
    3437    // We'll be using them for custom header images on posts and pages
  • trunk/wp-includes/theme.php

    r13403 r13417  
    13281328        add_action('wp_head', $header_callback);
    13291329
     1330    add_theme_support( 'custom-header' );
     1331
    13301332    if ( ! is_admin() )
    13311333        return;
     
    13931395
    13941396    add_action('wp_head', $header_callback);
     1397
     1398    add_theme_support( 'custom-background' );
    13951399
    13961400    if ( ! is_admin() )
Note: See TracChangeset for help on using the changeset viewer.