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:
parent
c7389223cd
commit
ddbf104453
@ -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 );
|
||||||
}
|
}
|
||||||
|
@ -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 ) . '%';
|
||||||
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user