Make WordPress Core


Ignore:
Timestamp:
07/24/2025 02:24:09 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Twenty Eleven: 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/twentyeleven/functions.php

    r59832 r60506  
    299299
    300300/**
    301  * Enqueue scripts and styles for front end.
     301 * Enqueues scripts and styles for front end.
    302302 *
    303303 * @since Twenty Eleven 2.9
     
    310310
    311311/**
    312  * Enqueue styles for the block-based editor.
     312 * Enqueues styles for the block-based editor.
    313313 *
    314314 * @since Twenty Eleven 2.9
     
    474474
    475475/**
    476  * Set the post excerpt length to 40 words.
     476 * Sets the post excerpt length to 40 words.
    477477 *
    478478 * To override this length in a child theme, remove
     
    525525
    526526/**
    527  * Add a pretty "Continue Reading" link to custom post excerpts.
     527 * Adds a pretty "Continue Reading" link to custom post excerpts.
    528528 *
    529529 * To override this link in a child theme, remove the filter and add your own
     
    544544
    545545/**
    546  * Show a home link for the wp_nav_menu() fallback, wp_page_menu().
     546 * Shows a home link for the wp_nav_menu() fallback, wp_page_menu().
    547547 *
    548548 * @since Twenty Eleven 1.0
     
    560560
    561561/**
    562  * Register sidebars and widgetized areas.
     562 * Registers sidebars and widgetized areas.
    563563 *
    564564 * Also register the default Ephemera widget.
     
    633633if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
    634634    /**
    635      * Display navigation to next/previous pages when applicable.
     635     * Displays navigation to next/previous pages when applicable.
    636636     *
    637637     * @since Twenty Eleven 1.0
     
    852852
    853853/**
    854  * Add two classes to the array of body classes.
     854 * Adds two classes to the array of body classes.
    855855 *
    856856 * The first is if the site has only had one author with published posts.
     
    877877
    878878/**
    879  * Retrieve the IDs for images in a gallery.
     879 * Retrieves the IDs for images in a gallery.
    880880 *
    881881 * @uses get_post_galleries() First, if available. Falls back to shortcode parsing,
Note: See TracChangeset for help on using the changeset viewer.