From 0cbd818ce89110e677fd1e48730cd989902d3534 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 8 Jan 2019 05:55:55 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@44462 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/inc/custom-header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php index 00490a7a6b..9e4f5e6a40 100644 --- a/src/wp-content/themes/twentyseventeen/inc/custom-header.php +++ b/src/wp-content/themes/twentyseventeen/inc/custom-header.php @@ -25,12 +25,12 @@ function twentyseventeen_custom_header_setup() { * An array of custom-header support arguments. * * @type string $default-image Default image of the header. - * @type string $default_text_color Default color of the header text. * @type int $width Width in pixels of the custom header image. Default 954. * @type int $height Height in pixels of the custom header image. Default 1300. + * @type string $flex-height Flex support for height of header. + * @type string $video Video support for header. * @type string $wp-head-callback Callback function used to styles the header image and text * displayed on the blog. - * @type string $flex-height Flex support for height of header. * } */ add_theme_support(