Make WordPress Core


Ignore:
Timestamp:
08/04/2025 08:53:04 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: 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/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php

    r56300 r60537  
    1414
    1515        /**
    16          * Instantiate the object.
     16         * Instantiates the object.
    1717         *
    1818         * @since Twenty Twenty-One 1.0
     
    3131
    3232        /**
    33          * Determine the luminance of the given color and then return #fff or #000 so that the text is always readable.
     33         * Determines the luminance of the given color and then returns #fff or #000 so that the text is always readable.
    3434         *
    3535         * @since Twenty Twenty-One 1.0
     
    4343
    4444        /**
    45          * Generate color variables.
     45         * Generates color variables.
    4646         *
    47          * Adjust the color value of the CSS variables depending on the background color theme mod.
     47         * Adjusts the color value of the CSS variables depending on the background color theme mod.
    4848         * Both text and link colors needs to be updated.
    4949         * The code below needs to be updated, because the colors are no longer theme mods.
     
    112112
    113113        /**
    114          * Get luminance from a HEX color.
     114         * Gets luminance from a HEX color.
    115115         *
    116116         * @static
Note: See TracChangeset for help on using the changeset viewer.