Admin: Fix default avatar handling in Settings -> Discussion.

By passing the `force_default` argument to `get_avatar()` instead of using `preg_replace`, we make it easier for developers to override the output.

Props henry.wright.
Fixes #34744.
Built from https://develop.svn.wordpress.org/trunk@37227


git-svn-id: http://core.svn.wordpress.org/trunk@37193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler
2016-04-17 10:19:28 +00:00
parent 698ca25fb9
commit 026ed07458
2 changed files with 2 additions and 8 deletions

View File

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