mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Adjust the description for the $extra_attr argument in the DocBlocks for get_avatar_data() and get_avatar().
See [31561]. See #31469. git-svn-id: https://develop.svn.wordpress.org/trunk@31591 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2149,7 +2149,7 @@ if ( !function_exists( 'get_avatar' ) ) :
|
||||
* Default null.
|
||||
* @type bool $force_display Whether to always show the avatar - ignores the show_avatars option.
|
||||
* Default false.
|
||||
* @type string $extra_attr HTML attribute to insert in the IMG element. Has no default and is not sanitized.
|
||||
* @type string $extra_attr HTML attributes to insert in the IMG element. Is not sanitized. Default empty.
|
||||
* }
|
||||
*
|
||||
* @return false|string `<img>` tag for the user's avatar. False on failure.
|
||||
|
||||
Reference in New Issue
Block a user