In get_avatar_data(), there's no need to return false if we couldn't find an avatar, as Gravatar can handle being given an empty email hash. This allows the default avatar to show when no email address is given.

See #21195


Built from https://develop.svn.wordpress.org/trunk@31153


git-svn-id: http://core.svn.wordpress.org/trunk@31134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2015-01-12 00:20:24 +00:00
parent 4bc89fef32
commit 3d051df3c9
2 changed files with 5 additions and 12 deletions

View File

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