WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/23/2020 07:37:57 AM (15 months ago)
Author:
johnbillion
Message:

Docs: Further corrections and improvements to various inline docblocks.

See #49572

File:
1 edited

Legend:

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

    r48200 r48576  
    1616 * @since 1.5.0
    1717 *
    18  * @global object $authordata The current author's DB object.
     18 * @global WP_User $authordata The current author's data.
    1919 *
    2020 * @param string $deprecated Deprecated.
     
    3333     * @since 2.9.0
    3434     *
    35      * @param string $authordata->display_name The author's display name.
     35     * @param string|null $display_name The author's display name.
    3636     */
    3737    return apply_filters( 'the_author', is_object( $authordata ) ? $authordata->display_name : null );
     
    100100         * @since 2.8.0
    101101         *
    102          * @param string $last_user->display_name The author's display name.
     102         * @param string $display_name The author's display name.
    103103         */
    104104        return apply_filters( 'the_modified_author', $last_user->display_name );
     
    153153 * @since 2.8.0
    154154 *
    155  * @global object $authordata The current author's DB object.
     155 * @global WP_User $authordata The current author's data.
    156156 *
    157157 * @param string    $field   Optional. The user field to retrieve. Default empty.
     
    288288 * @since 4.4.0
    289289 *
    290  * @global object $authordata The current author's DB object.
     290 * @global WP_User $authordata The current author's data.
    291291 *
    292292 * @return string An HTML link to the author page, or an empty string if $authordata isn't defined.
Note: See TracChangeset for help on using the changeset viewer.