mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Use default parameter when getting the default avatar type.
Props johnjamesjacoby. Fixes #32997. Built from https://develop.svn.wordpress.org/trunk@33264 git-svn-id: http://core.svn.wordpress.org/trunk@33236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
542e01162f
commit
88e669b6db
@ -258,9 +258,7 @@ $avatar_defaults = array(
|
||||
* @param array $avatar_defaults Array of default avatars.
|
||||
*/
|
||||
$avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults );
|
||||
$default = get_option('avatar_default');
|
||||
if ( empty($default) )
|
||||
$default = 'mystery';
|
||||
$default = get_option( 'avatar_default', 'mystery' );
|
||||
$size = 32;
|
||||
$avatar_list = '';
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-beta2-33263';
|
||||
$wp_version = '4.3-beta2-33264';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user