Make WordPress Core

Changeset 60505


Ignore:
Timestamp:
07/24/2025 02:22:46 PM (5 months ago)
Author:
SergeyBiryukov
Message:

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

Reference: PHP Documentation Standards: Documenting Tips.

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

Location:
trunk/src/wp-content/themes/twentyten
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/block-patterns.php

    r54405 r60505  
    1212
    1313/**
    14  * Register Block Pattern Category.
     14 * Registers Block Pattern Category.
    1515 */
    1616if ( function_exists( 'register_block_pattern_category' ) ) {
     
    2323
    2424/**
    25  * Register Block Patterns.
     25 * Registers Block Patterns.
    2626 */
    2727if ( function_exists( 'register_block_pattern' ) ) {
  • trunk/src/wp-content/themes/twentyten/functions.php

    r60159 r60505  
    4242
    4343/*
    44  * Set the content width based on the theme's design and stylesheet.
     44 * Sets the content width based on the theme's design and stylesheet.
    4545 *
    4646 * Used to set the width of images and content. Should be equal to the width the theme
     
    325325
    326326/**
    327  * Show a home link for our wp_nav_menu() fallback, wp_page_menu().
     327 * Shows a home link for our wp_nav_menu() fallback, wp_page_menu().
    328328 *
    329329 * To override this in a child theme, remove the filter and optionally add
     
    343343
    344344/**
    345  * Set the post excerpt length to 40 characters.
     345 * Sets the post excerpt length to 40 characters.
    346346 *
    347347 * To override this length in a child theme, remove the filter and add your own
     
    393393
    394394/**
    395  * Add a pretty "Continue Reading" link to custom post excerpts.
     395 * Adds a pretty "Continue Reading" link to custom post excerpts.
    396396 *
    397397 * To override this link in a child theme, remove the filter and add your own
     
    529529
    530530/**
    531  * Register widgetized areas, including two sidebars and four widget-ready columns in the footer.
     531 * Registers widgetized areas, including two sidebars and four widget-ready columns in the footer.
    532532 *
    533533 * To override twentyten_widgets_init() in a child theme, remove the action hook and add your own
     
    698698
    699699/**
    700  * Retrieve the IDs for images in a gallery.
     700 * Retrieves the IDs for images in a gallery.
    701701 *
    702702 * @uses get_post_galleries() First, if available. Falls back to shortcode parsing,
     
    761761
    762762/**
    763  * Enqueue scripts and styles for front end.
     763 * Enqueues scripts and styles for front end.
    764764 *
    765765 * @since Twenty Ten 2.6
     
    772772
    773773/**
    774  * Enqueue styles for the block-based editor.
     774 * Enqueues styles for the block-based editor.
    775775 *
    776776 * @since Twenty Ten 2.6
     
    783783
    784784/**
    785  * Register block patterns and pattern categories.
     785 * Registers block patterns and pattern categories.
    786786 *
    787787 * @since Twenty Ten 4.3
Note: See TracChangeset for help on using the changeset viewer.