Make WordPress Core

Changeset 39733


Ignore:
Timestamp:
01/06/2017 01:34:13 PM (10 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/src/wp-content/themes/twentyseventeen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/functions.php

    r39720 r39733  
    250250         * @since Twenty Seventeen 1.0
    251251         *
    252          * @param $content_width integer
     252         * @param int $content_width Content width in pixels.
    253253         */
    254254        $GLOBALS['content_width'] = apply_filters( 'twentyseventeen_content_width', $content_width );
  • trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php

    r39618 r39733  
    1919         * @since Twenty Seventeen 1.0
    2020         *
    21          * @param $saturation integer
     21         * @param int $saturation Color saturation level.
    2222         */
    2323        $saturation = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) );
  • trunk/src/wp-content/themes/twentyseventeen/inc/icon-functions.php

    r39206 r39733  
    213213         * @since Twenty Seventeen 1.0
    214214         *
    215          * @param array $social_links_icons
     215         * @param array $social_links_icons Array of social links icons.
    216216         */
    217217        return apply_filters( 'twentyseventeen_social_links_icons', $social_links_icons );
Note: See TracChangeset for help on using the changeset viewer.