Make WordPress Core


Ignore:
Timestamp:
08/03/2025 03:25:29 PM (6 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: 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/twentytwenty/classes/class-twentytwenty-customize.php

    r60478 r60536  
    1717
    1818        /**
    19          * Register customizer options.
     19         * Registers customizer options.
    2020         *
    2121         * @since Twenty Twenty 1.0
     
    2727            /**
    2828             * Site Title & Description.
    29              * */
     29             */
    3030            $wp_customize->get_setting( 'blogname' )->transport        = 'postMessage';
    3131            $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
     
    440440
    441441        /**
    442          * Sanitize select.
     442         * Sanitizes a select input.
    443443         *
    444444         * @since Twenty Twenty 1.0
     
    455455
    456456        /**
    457          * Sanitize boolean for checkbox.
     457         * Sanitizes a boolean for checkbox.
    458458         *
    459459         * @since Twenty Twenty 1.0
     
    477477if ( ! function_exists( 'twentytwenty_customize_partial_blogname' ) ) {
    478478    /**
    479      * Render the site title for the selective refresh partial.
     479     * Renders the site title for the selective refresh partial.
    480480     *
    481481     * @since Twenty Twenty 1.0
     
    488488if ( ! function_exists( 'twentytwenty_customize_partial_blogdescription' ) ) {
    489489    /**
    490      * Render the site description for the selective refresh partial.
     490     * Renders the site description for the selective refresh partial.
    491491     *
    492492     * @since Twenty Twenty 1.0
     
    499499if ( ! function_exists( 'twentytwenty_customize_partial_site_logo' ) ) {
    500500    /**
    501      * Render the site logo for the selective refresh partial.
     501     * Renders the site logo for the selective refresh partial.
    502502     *
    503503     * Doing it this way so we don't have issues with `render_callback`'s arguments.
Note: See TracChangeset for help on using the changeset viewer.