Make WordPress Core


Ignore:
Timestamp:
02/06/2023 09:28:15 PM (16 months ago)
Author:
audrasjb
Message:

Users: Update get_avatar_url() and get_avatar() to include RoboHash support.

Follow-up to [55238].

Fixes #57493.

File:
1 edited

Legend:

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

    r55210 r55239  
    27712771     *                              user email, WP_User object, WP_Post object, or WP_Comment object.
    27722772     * @param int    $size          Optional. Height and width of the avatar image file in pixels. Default 96.
    2773      * @param string $default_value Optional. URL for the default image or a default type. Accepts '404'
    2774      *                              (return a 404 instead of a default image), 'retro' (8bit), 'monsterid'
    2775      *                              (monster), 'wavatar' (cartoon face), 'indenticon' (the "quilt"),
     2773     * @param string $default_value URL for the default image or a default type. Accepts '404' (return
     2774     *                              a 404 instead of a default image), 'retro' (8bit), 'RoboHash' (robohash),
     2775     *                              'monsterid' (monster), 'wavatar' (cartoon face), 'indenticon' (the "quilt"),
    27762776     *                              'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF),
    27772777     *                              or 'gravatar_default' (the Gravatar logo). Default is the value of the
Note: See TracChangeset for help on using the changeset viewer.