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.
Built from https://develop.svn.wordpress.org/trunk@39733


git-svn-id: http://core.svn.wordpress.org/trunk@39673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-06 22:08:33 +00:00
parent 2f50816f32
commit f6cd778c84
4 changed files with 4 additions and 4 deletions

View File

@ -249,7 +249,7 @@ function twentyseventeen_content_width() {
* *
* @since Twenty Seventeen 1.0 * @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 ); $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 * @since Twenty Seventeen 1.0
* *
* @param $saturation integer * @param int $saturation Color saturation level.
*/ */
$saturation = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) ); $saturation = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) );
$reduced_saturation = ( .8 * $saturation ) . '%'; $reduced_saturation = ( .8 * $saturation ) . '%';

View File

@ -212,7 +212,7 @@ function twentyseventeen_social_links_icons() {
* *
* @since Twenty Seventeen 1.0 * @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 ); return apply_filters( 'twentyseventeen_social_links_icons', $social_links_icons );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-39732'; $wp_version = '4.8-alpha-39733';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.