mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 08:10:04 +00:00
Use default parameter when getting the default avatar type.
Props johnjamesjacoby. Fixes #32997. git-svn-id: https://develop.svn.wordpress.org/trunk@33264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user