WordPress.org

Make WordPress Core

Changeset 21329


Ignore:
Timestamp:
07/25/2012 05:30:19 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: remove unneeded filter (props nacin) and fix up PHP comment blocks in custom-header.php file for s/@package/@since/ on individual functions. See #21231.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/inc/custom-header.php

    r21328 r21329  
    1111/**
    1212 * Set up the WordPress core custom header arguments and settings.
    13  *
    14  * Use add_theme_support() to register support for WordPress 3.4+
     13 * Use add_theme_support() to register support for 3.4 and up.
    1514 *
    1615 * @uses twentytwelve_header_style()
     
    1817 * @uses twentytwelve_admin_header_image()
    1918 *
    20  * @package Twenty_Twelve
     19 * @since Twenty Twelve 1.0
    2120 */
    2221function twentytwelve_custom_header_setup() {
     
    4443    );
    4544
    46     // Add support and allow child themes to filter any of these arguments.
    47     add_theme_support( 'custom-header', apply_filters( 'twentytwelve_custom_header_args', $args ) );
     45    add_theme_support( 'custom-header', $args );
    4846}
    4947add_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' );
Note: See TracChangeset for help on using the changeset viewer.