From ddbf1044534c2806a6468045e39f01fbc8eb3df1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 6 Jan 2017 13:34:13 +0000 Subject: [PATCH] Twenty Seventeen: Correct `@param` entries for `twentyseventeen_content_width`, `twentyseventeen_custom_colors_saturation` and `twentyseventeen_social_links_icons` filters. Props Jaydeep Rami, BharatKambariya. Fixes #39488. git-svn-id: https://develop.svn.wordpress.org/trunk@39733 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/functions.php | 2 +- src/wp-content/themes/twentyseventeen/inc/color-patterns.php | 2 +- src/wp-content/themes/twentyseventeen/inc/icon-functions.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index 2ea3bc4a73..47bacd3c8a 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/wp-content/themes/twentyseventeen/functions.php @@ -249,7 +249,7 @@ function twentyseventeen_content_width() { * * @since Twenty Seventeen 1.0 * - * @param $content_width integer + * @param int $content_width Content width in pixels. */ $GLOBALS['content_width'] = apply_filters( 'twentyseventeen_content_width', $content_width ); } diff --git a/src/wp-content/themes/twentyseventeen/inc/color-patterns.php b/src/wp-content/themes/twentyseventeen/inc/color-patterns.php index 578f3aba77..655256afbe 100644 --- a/src/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/src/wp-content/themes/twentyseventeen/inc/color-patterns.php @@ -18,7 +18,7 @@ function twentyseventeen_custom_colors_css() { * * @since Twenty Seventeen 1.0 * - * @param $saturation integer + * @param int $saturation Color saturation level. */ $saturation = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) ); $reduced_saturation = ( .8 * $saturation ) . '%'; diff --git a/src/wp-content/themes/twentyseventeen/inc/icon-functions.php b/src/wp-content/themes/twentyseventeen/inc/icon-functions.php index dc423ee46d..b73f2a47a9 100644 --- a/src/wp-content/themes/twentyseventeen/inc/icon-functions.php +++ b/src/wp-content/themes/twentyseventeen/inc/icon-functions.php @@ -212,7 +212,7 @@ function twentyseventeen_social_links_icons() { * * @since Twenty Seventeen 1.0 * - * @param array $social_links_icons + * @param array $social_links_icons Array of social links icons. */ return apply_filters( 'twentyseventeen_social_links_icons', $social_links_icons ); }