Make WordPress Core


Ignore:
Timestamp:
03/20/2012 09:32:42 PM (12 years ago)
Author:
nacin
Message:

Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249.

File:
1 edited

Legend:

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

    r20222 r20225  
    6363 * @uses load_theme_textdomain() For translation/localization support.
    6464 * @uses add_editor_style() To style the visual editor.
    65  * @uses add_theme_support() To add support for post thumbnails, automatic feed links, and Post Formats.
     65 * @uses add_theme_support() To add support for post thumbnails, automatic feed links, custom headers
     66 *  and backgrounds, and post formats.
    6667 * @uses register_nav_menus() To add support for navigation menus.
    67  * @uses add_custom_background() To add support for a custom background.
    68  * @uses add_custom_image_header() To add support for a custom header.
    6968 * @uses register_default_headers() To register the default custom header images provided with the theme.
    7069 * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
     
    235234 * Styles the header image displayed on the Appearance > Header admin panel.
    236235 *
    237  * Referenced via add_custom_image_header() in twentyeleven_setup().
     236 * Referenced via add_theme_support('custom-header') in twentyeleven_setup().
    238237 *
    239238 * @since Twenty Eleven 1.0
     
    285284 * Custom header image markup displayed on the Appearance > Header admin panel.
    286285 *
    287  * Referenced via add_custom_image_header() in twentyeleven_setup().
     286 * Referenced via add_theme_support('custom-header') in twentyeleven_setup().
    288287 *
    289288 * @since Twenty Eleven 1.0
Note: See TracChangeset for help on using the changeset viewer.