Adjust the description for the $extra_attr argument in the DocBlocks for get_avatar_data() and get_avatar().
See [31561]. See #31469. Built from https://develop.svn.wordpress.org/trunk@31591 git-svn-id: http://core.svn.wordpress.org/trunk@31572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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