Skip to content

Commit

Permalink
Update cli.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Md. Alimuzzaman Alim committed Apr 27, 2022
1 parent 9392415 commit 050b9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function disable($args, $assoc_args)
}
if($disable_avatar != null){
$disable_comments_settings['disable_avatar'] = $disable_avatar;
if($disable_avatar && $disable_avatar != 'false'){
if($disable_avatar && $disable_avatar !== 'false'){
$msg .= __( 'Disabled Avatar on your entire site. ', 'disable-comments' );
}
else{
Expand Down

0 comments on commit 050b9c3

Please sign in to comment.