Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit c5e0f86

Browse files
author
Matthias Pfefferle
committed
add check for default avatar
1 parent deadcac commit c5e0f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-linkbacks-handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ public static function pre_get_avatar_data( $args, $id_or_email ) {
481481

482482
$option = 'semantic_linkbacks_facepile_' . $type;
483483

484-
if ( get_option( $option, false ) ) {
484+
if ( get_option( $option, false ) && $args['default'] === 'blank' ) {
485485
$args['default'] = 'mm';
486486
}
487487

0 commit comments

Comments
 (0)