Make WordPress Core


Ignore:
Timestamp:
09/21/2019 05:40:58 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Docblock corrections and improvements, mostly related to various pre_* filters.

See #47110

File:
1 edited

Legend:

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

    r45932 r46232  
    39983998 * @since 4.2.0
    39993999 *
    4000  * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
    4001  *                            user email, WP_User object, WP_Post object, or WP_Comment object.
     4000 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,
     4001 *                           user email, WP_User object, WP_Post object, or WP_Comment object.
    40024002 * @param array $args {
    40034003 *     Optional. Arguments to return instead of the default arguments.
     
    40214021 *     @type string $extra_attr     HTML attributes to insert in the IMG element. Is not sanitized. Default empty.
    40224022 * }
    4023  * @return array $processed_args {
     4023 * @return array {
    40244024 *     Along with the arguments passed in `$args`, this will contain a couple of extra arguments.
    40254025 *
     
    41024102     * @since 4.2.0
    41034103     *
    4104      * @param array  $args        Arguments passed to get_avatar_data(), after processing.
    4105      * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
    4106      *                            user email, WP_User object, WP_Post object, or WP_Comment object.
     4104     * @param array $args        Arguments passed to get_avatar_data(), after processing.
     4105     * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,
     4106     *                           user email, WP_User object, WP_Post object, or WP_Comment object.
    41074107     */
    41084108    $args = apply_filters( 'pre_get_avatar_data', $args, $id_or_email );
     
    41944194     *
    41954195     * @param string $url         The URL of the avatar.
    4196      * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
     4196     * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,
    41974197     *                            user email, WP_User object, WP_Post object, or WP_Comment object.
    41984198     * @param array  $args        Arguments passed to get_avatar_data(), after processing.
     
    42054205     * @since 4.2.0
    42064206     *
    4207      * @param array  $args        Arguments passed to get_avatar_data(), after processing.
    4208      * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
    4209      *                            user email, WP_User object, WP_Post object, or WP_Comment object.
     4207     * @param array $args        Arguments passed to get_avatar_data(), after processing.
     4208     * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,
     4209     *                           user email, WP_User object, WP_Post object, or WP_Comment object.
    42104210     */
    42114211    return apply_filters( 'get_avatar_data', $args, $id_or_email );
Note: See TracChangeset for help on using the changeset viewer.