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:
Drew Jaynes 2015-03-01 07:19:24 +00:00
parent a49cd7851b
commit 33d9dd8066
3 changed files with 3 additions and 3 deletions

View File

@ -3438,7 +3438,7 @@ function get_avatar_url( $id_or_email, $args = null ) {
* Default null. * Default null.
* @type array $processed_args When the function returns, the value will be the processed/sanitized $args * @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. * 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 { * @return array $processed_args {

View File

@ -2149,7 +2149,7 @@ if ( !function_exists( 'get_avatar' ) ) :
* Default null. * Default null.
* @type bool $force_display Whether to always show the avatar - ignores the show_avatars option. * @type bool $force_display Whether to always show the avatar - ignores the show_avatars option.
* Default false. * 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. * @return false|string `<img>` tag for the user's avatar. False on failure.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31590'; $wp_version = '4.2-alpha-31591';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.