Make WordPress Core


Ignore:
Timestamp:
01/08/2019 05:55:55 AM (8 years ago)
Author:
pento
Message:

Docs: Correct the parameters passed to the twentyseventeen_custom_header_args filter.

The documented $default_text_color parameter isn't passed, and the $video parameter is passed, but not documented.

Props mukesh27.
Fixes #44920.

File:
1 edited

Legend:

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

    r43571 r44462  
    2626         *
    2727         *     @type string $default-image          Default image of the header.
    28          *     @type string $default_text_color     Default color of the header text.
    2928         *     @type int    $width                  Width in pixels of the custom header image. Default 954.
    3029         *     @type int    $height                 Height in pixels of the custom header image. Default 1300.
     30         *     @type string $flex-height            Flex support for height of header.
     31         *     @type string $video                  Video support for header.
    3132         *     @type string $wp-head-callback       Callback function used to styles the header image and text
    3233         *                                          displayed on the blog.
    33          *     @type string $flex-height            Flex support for height of header.
    3434         * }
    3535         */
Note: See TracChangeset for help on using the changeset viewer.