Make WordPress Core


Ignore:
Timestamp:
08/01/2025 11:27:03 AM (10 months ago)
Author:
SergeyBiryukov
Message:

Twenty Seventeen: Use third-person singular verbs for function descriptions.

Reference: PHP Documentation Standards: Documenting Tips.

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

File:
1 edited

Legend:

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

    r60478 r60533  
    99
    1010/**
    11  * Add postMessage support for site title and description for the Theme Customizer.
     11 * Adds postMessage support for site title and description for the Theme Customizer.
    1212 *
    1313 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
     
    163163
    164164/**
    165  * Sanitize the page layout options.
     165 * Sanitizes the page layout options.
    166166 *
    167167 * @param string $input Page layout.
     
    181181
    182182/**
    183  * Sanitize the colorscheme.
     183 * Sanitizes the colorscheme.
    184184 *
    185185 * @param string $input Color scheme.
     
    196196
    197197/**
    198  * Render the site title for the selective refresh partial.
     198 * Renders the site title for the selective refresh partial.
    199199 *
    200200 * @since Twenty Seventeen 1.0
     
    209209
    210210/**
    211  * Render the site tagline for the selective refresh partial.
     211 * Renders the site tagline for the selective refresh partial.
    212212 *
    213213 * @since Twenty Seventeen 1.0
     
    222222
    223223/**
    224  * Return whether we're previewing the front page and it's a static page.
     224 * Returns whether we're previewing the front page and it's a static page.
    225225 *
    226226 * This function is an alias for twentyseventeen_is_frontpage().
     
    236236
    237237/**
    238  * Return whether we're on a view that supports a one or two column layout.
     238 * Returns whether we're on a view that supports a one or two column layout.
    239239 */
    240240function twentyseventeen_is_view_with_layout_option() {
     
    244244
    245245/**
    246  * Bind JS handlers to instantly live-preview changes.
     246 * Binds JS handlers to instantly live-preview changes.
    247247 */
    248248function twentyseventeen_customize_preview_js() {
     
    252252
    253253/**
    254  * Load dynamic logic for the customizer controls area.
     254 * Loads dynamic logic for the customizer controls area.
    255255 */
    256256function twentyseventeen_panels_js() {
Note: See TracChangeset for help on using the changeset viewer.