Make WordPress Core


Ignore:
Timestamp:
07/01/2020 01:50:28 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Bundled Themes: Correct DocBlock placement for custom header and background argument filters.

See #49572.

File:
1 edited

Legend:

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

    r47122 r48264  
    1717    $default_text_color = trim( $color_scheme[4], '#' );
    1818
    19     /**
    20      * Filter Twenty Fifteen custom-header support arguments.
    21      *
    22      * @since Twenty Fifteen 1.0
    23      *
    24      * @param array $args {
    25      *     An array of custom-header support arguments.
    26      *
    27      *     @type string $default_text_color     Default color of the header text.
    28      *     @type int    $width                  Width in pixels of the custom header image. Default 954.
    29      *     @type int    $height                 Height in pixels of the custom header image. Default 1300.
    30      *     @type string $wp-head-callback       Callback function used to styles the header image and text
    31      *                                          displayed on the blog.
    32      * }
    33      */
    3419    add_theme_support(
    3520        'custom-header',
     21        /**
     22         * Filter Twenty Fifteen custom-header support arguments.
     23         *
     24         * @since Twenty Fifteen 1.0
     25         *
     26         * @param array $args {
     27         *     An array of custom-header support arguments.
     28         *
     29         *     @type string $default_text_color Default color of the header text.
     30         *     @type int    $width              Width in pixels of the custom header image. Default 954.
     31         *     @type int    $height             Height in pixels of the custom header image. Default 1300.
     32         *     @type string $wp-head-callback   Callback function used to styles the header image and text
     33         *                                      displayed on the blog.
     34         * }
     35         */
    3636        apply_filters(
    3737            'twentyfifteen_custom_header_args',
Note: See TracChangeset for help on using the changeset viewer.