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
This commit is contained in:
Sergey Biryukov 2017-01-06 13:34:13 +00:00
parent c7389223cd
commit ddbf104453
3 changed files with 3 additions and 3 deletions

View File

@ -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 );
}

View File

@ -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 ) . '%';

View File

@ -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 );
}