Make WordPress Core


Ignore:
Timestamp:
07/25/2025 05:01:20 PM (14 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/functions.php

    r60506 r60513  
    5353if ( ! function_exists( 'twentyeleven_setup' ) ) :
    5454        /**
    55          * Set up theme defaults and registers support for various WordPress features.
     55         * Sets up theme defaults and registers support for various WordPress features.
    5656         *
    5757         * Note that this function is hooked into the after_setup_theme hook, which runs
     
    412412if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
    413413        /**
    414          * Custom header image markup displayed on the Appearance > Header admin panel.
     414         * Displays custom header image markup on the Appearance > Header admin panel.
    415415         *
    416416         * Referenced via add_theme_support('custom-header') in twentyeleven_setup().
     
    443443if ( ! function_exists( 'twentyeleven_header_image' ) ) :
    444444        /**
    445          * Custom header image markup displayed.
     445         * Displays custom header image markup.
    446446         *
    447447         * @since Twenty Eleven 4.5
     
    492492if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) :
    493493        /**
    494          * Return a "Continue Reading" link for excerpts
     494         * Returns a "Continue Reading" link for excerpts.
    495495         *
    496496         * @since Twenty Eleven 1.0
     
    504504
    505505/**
    506  * Replace "[...]" in the Read More link with an ellipsis.
     506 * Replaces "[...]" in the Read More link with an ellipsis.
    507507 *
    508508 * The "[...]" is appended to automatically generated excerpts.
     
    655655
    656656/**
    657  * Return the first link from the post content. If none found, the
     657 * Returns the first link from the post content. If none found, the
    658658 * post permalink is used as a fallback.
    659659 *
     
    677677
    678678/**
    679  * Return the URL for the first link found in the post content.
     679 * Returns the URL for the first link found in the post content.
    680680 *
    681681 * @since Twenty Eleven 1.0
     
    692692
    693693/**
    694  * Count the number of footer sidebars to enable dynamic classes for the footer.
     694 * Counts the number of footer sidebars to enable dynamic classes for the footer.
    695695 *
    696696 * @since Twenty Eleven 1.0
     
    829829if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
    830830        /**
    831          * Print HTML with meta information for the current post-date/time and author.
     831         * Prints HTML with meta information for the current post-date/time and author.
    832832         *
    833833         * Create your own twentyeleven_posted_on to override in a child theme
     
    941941if ( ! function_exists( 'wp_body_open' ) ) :
    942942        /**
    943          * Fire the wp_body_open action.
     943         * Fires the wp_body_open action.
    944944         *
    945945         * Added for backward compatibility to support pre-5.2.0 WordPress versions.
     
    958958
    959959/**
    960  * Include a skip to content link at the top of the page so that users can bypass the menu.
     960 * Includes a skip to content link at the top of the page so that users can bypass the menu.
    961961 *
    962962 * @since Twenty Eleven 3.4
Note: See TracChangeset for help on using the changeset viewer.