diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php index 825a28334b..3d2eb012e4 100644 --- a/wp-includes/class-walker-comment.php +++ b/wp-includes/class-walker-comment.php @@ -278,7 +278,7 @@ class Walker_Comment extends Walker { $commenter = wp_get_current_commenter(); $show_pending_links = ! empty( $commenter['comment_author'] ); - if ( $comment && '0' == $comment->comment_approved && ! $show_pending_links ) { + if ( $comment && '0' === $comment->comment_approved && ! $show_pending_links ) { $comment_text = wp_kses( $comment_text, array() ); } @@ -320,14 +320,14 @@ class Walker_Comment extends Walker {
- comment_approved ) : ?> + comment_approved ) : ?>