Make WordPress Core

Changeset 53189


Ignore:
Timestamp:
04/15/2022 03:12:11 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in author-template.php, as per documentation standards.

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/author-template.php

    r53188 r53189  
    1212
    1313/**
    14  * Retrieve the author of the current post.
     14 * Retrieves the author of the current post.
    1515 *
    1616 * @since 1.5.0
     
    3939
    4040/**
    41  * Display the name of the author of the current post.
     41 * Displays the name of the author of the current post.
    4242 *
    4343 * The behavior of this function is based off of old functionality predating
     
    8383
    8484/**
    85  * Retrieve the author who last edited the current post.
     85 * Retrieves the author who last edited the current post.
    8686 *
    8787 * @since 2.8.0
     
    107107
    108108/**
    109  * Display the name of the author who last edited the current post,
     109 * Displays the name of the author who last edited the current post,
    110110 * if the author's ID is available.
    111111 *
     
    205205
    206206    /**
    207      * The value of the requested user metadata.
     207     * Filters the value of the requested user metadata.
    208208     *
    209209     * The filter name is dynamic and depends on the $field parameter of the function.
     
    218218
    219219/**
    220  * Retrieve either author's link or author's name.
     220 * Retrieves either author's link or author's name.
    221221 *
    222222 * If the author has a home page set, return an HTML link, otherwise just return the
     
    261261
    262262/**
    263  * Display either author's link or author's name.
     263 * Displays either author's link or author's name.
    264264 *
    265265 * If the author has a home page set, echo an HTML link, otherwise just echo the
     
    275275
    276276/**
    277  * Retrieve the number of posts by the author of the current post.
     277 * Retrieves the number of posts by the author of the current post.
    278278 *
    279279 * @since 1.5.0
     
    290290
    291291/**
    292  * Display the number of posts by the author of the current post.
     292 * Displays the number of posts by the author of the current post.
    293293 *
    294294 * @link https://developer.wordpress.org/reference/functions/the_author_posts/
     
    350350
    351351/**
    352  * Retrieve the URL to the author page for the user with the ID provided.
     352 * Retrieves the URL to the author page for the user with the ID provided.
    353353 *
    354354 * @since 2.1.0
     
    395395
    396396/**
    397  * List all the authors of the site, with several options available.
     397 * Lists all the authors of the site, with several options available.
    398398 *
    399399 * @link https://developer.wordpress.org/reference/functions/wp_list_authors/
Note: See TracChangeset for help on using the changeset viewer.