Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:09:04 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Another pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48121 r48590  
    14901490     * @since 1.0.0
    14911491     *
    1492      * @param int|WP_Comment  $comment_id Comment ID or WP_Comment object.
    1493      * @param string          $deprecated Not used
     1492     * @param int|WP_Comment $comment_id Comment ID or WP_Comment object.
     1493     * @param string         $deprecated Not used
    14941494     * @return bool True on completion. False if no email addresses were specified.
    14951495     */
     
    25832583     * @since 4.2.0 Optional `$args` parameter added.
    25842584     *
    2585      * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
    2586      *                           user email, WP_User object, WP_Post object, or WP_Comment object.
    2587      * @param int    $size       Optional. Height and width of the avatar image file in pixels. Default 96.
    2588      * @param string $default    Optional. URL for the default image or a default type. Accepts '404'
    2589      *                           (return a 404 instead of a default image), 'retro' (8bit), 'monsterid'
    2590      *                           (monster), 'wavatar' (cartoon face), 'indenticon' (the "quilt"),
    2591      *                           'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF),
    2592      *                           or 'gravatar_default' (the Gravatar logo). Default is the value of the
    2593      *                           'avatar_default' option, with a fallback of 'mystery'.
    2594      * @param string $alt        Optional. Alternative text to use in <img> tag. Default empty.
    2595      * @param array  $args       {
     2585     * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
     2586     *                            user email, WP_User object, WP_Post object, or WP_Comment object.
     2587     * @param int    $size        Optional. Height and width of the avatar image file in pixels. Default 96.
     2588     * @param string $default     Optional. URL for the default image or a default type. Accepts '404'
     2589     *                            (return a 404 instead of a default image), 'retro' (8bit), 'monsterid'
     2590     *                            (monster), 'wavatar' (cartoon face), 'indenticon' (the "quilt"),
     2591     *                            'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF),
     2592     *                            or 'gravatar_default' (the Gravatar logo). Default is the value of the
     2593     *                            'avatar_default' option, with a fallback of 'mystery'.
     2594     * @param string $alt         Optional. Alternative text to use in img tag. Default empty.
     2595     * @param array  $args {
    25962596     *     Optional. Extra arguments to retrieve the avatar.
    25972597     *
     
    26032603     *     @type string       $scheme        URL scheme to use. See set_url_scheme() for accepted values.
    26042604     *                                       Default null.
    2605      *     @type array|string $class         Array or string of additional classes to add to the <img> element.
     2605     *     @type array|string $class         Array or string of additional classes to add to the img element.
    26062606     *                                       Default null.
    26072607     *     @type bool         $force_display Whether to always show the avatar - ignores the show_avatars option.
Note: See TracChangeset for help on using the changeset viewer.