WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/12/2015 12:22:12 AM (6 years ago)
Author:
pento
Message:

If get_avatar_data() is passed an empty value for the default avatar, we should be using the site's avatar_default option instead.

See #21195

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r31153 r31154  
    34143414
    34153415    if ( empty( $args['default'] ) ) {
    3416         $args['default'] = 'mystery';
     3416        $args['default'] = get_option( 'avatar_default', 'mystery' );
    34173417    }
    34183418
Note: See TracChangeset for help on using the changeset viewer.