Make WordPress Core


Ignore:
Timestamp:
07/25/2025 05:01:20 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Twenty Eleven: Use third-person singular verbs for some more function descriptions.

Reference: PHP Documentation Standards: Documenting Tips.

Follow-up to [60506], [60507].

See #63692.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php

    r60506 r60513  
    99
    1010/**
    11  * Properly enqueue styles and scripts for our theme options page.
     11 * Properly enqueues styles and scripts for our theme options page.
    1212 *
    1313 * This function is attached to the admin_enqueue_scripts action hook.
     
    6666
    6767/**
    68  * Change the capability required to save the 'twentyeleven_options' options group.
     68 * Changes the capability required to save the 'twentyeleven_options' options group.
    6969 *
    7070 * @see twentyeleven_theme_options_init()     First parameter to register_setting() is the name of the options group.
     
    142142
    143143/**
    144  * Return an array of color schemes registered for Twenty Eleven.
     144 * Returns an array of color schemes registered for Twenty Eleven.
    145145 *
    146146 * @since Twenty Eleven 1.0
     
    173173
    174174/**
    175  * Return an array of layout options registered for Twenty Eleven.
     175 * Returns an array of layout options registered for Twenty Eleven.
    176176 *
    177177 * @since Twenty Eleven 1.0
     
    207207
    208208/**
    209  * Return the default options for Twenty Eleven.
     209 * Returns the default options for Twenty Eleven.
    210210 *
    211211 * @since Twenty Eleven 1.0
     
    235235
    236236/**
    237  * Return the default link color for Twenty Eleven, based on color scheme.
     237 * Returns the default link color for Twenty Eleven, based on color scheme.
    238238 *
    239239 * @since Twenty Eleven 1.0
     
    258258
    259259/**
    260  * Return the options array for Twenty Eleven.
     260 * Returns the options array for Twenty Eleven.
    261261 *
    262262 * @since Twenty Eleven 1.0
     
    267267
    268268/**
    269  * Render the Color Scheme setting field.
     269 * Renders the Color Scheme setting field.
    270270 *
    271271 * @since Twenty Eleven 1.3
     
    291291
    292292/**
    293  * Render the Link Color setting field.
     293 * Renders the Link Color setting field.
    294294 *
    295295 * @since Twenty Eleven 1.3
     
    313313
    314314/**
    315  * Render the Layout setting field.
     315 * Renders the Layout setting field.
    316316 *
    317317 * @since Twenty Eleven 1.3
     
    335335
    336336/**
    337  * Render the theme options page for Twenty Eleven.
     337 * Renders the theme options page for Twenty Eleven.
    338338 *
    339339 * @since Twenty Eleven 1.2
     
    363363
    364364/**
    365  * Sanitize and validate form input.
     365 * Sanitizes and validates form input.
    366366 *
    367367 * Accepts an array, return a sanitized array.
     
    641641
    642642/**
    643  * Render the site title for the selective refresh partial.
     643 * Renders the site title for the selective refresh partial.
    644644 *
    645645 * @since Twenty Eleven 2.4
     
    654654
    655655/**
    656  * Render the site tagline for the selective refresh partial.
     656 * Renders the site tagline for the selective refresh partial.
    657657 *
    658658 * @since Twenty Eleven 2.4
     
    667667
    668668/**
    669  * Bind JS handlers to make Customizer preview reload changes asynchronously.
     669 * Binds JS handlers to make Customizer preview reload changes asynchronously.
    670670 *
    671671 * Used with blogname and blogdescription.
Note: See TracChangeset for help on using the changeset viewer.