From 79a3048412f9eed9e0a83b09ec4663e39f96cd40 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 1 Mar 2015 07:18:42 +0000 Subject: [PATCH] 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 --- src/wp-includes/link-template.php | 2 +- src/wp-includes/pluggable.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 3a4627d56a..a0584efbea 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -3438,7 +3438,7 @@ function get_avatar_url( $id_or_email, $args = null ) { * Default null. * @type array $processed_args When the function returns, the value will be the processed/sanitized $args * plus a "found_avatar" guess. Pass as a reference. Default null. - * @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 array $processed_args { diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 71c0d3704b..2abf88404b 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -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 `` tag for the user's avatar. False on failure.