Changeset 55420 for trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
- Timestamp:
- 02/24/2023 06:21:21 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
r54885 r55420 37 37 $comment_author = get_comment_author( $comment ); 38 38 $avatar = get_avatar( $comment, $args['avatar_size'] ); 39 if ( 0 != $args['avatar_size'] ) {39 if ( 0 !== (int) $args['avatar_size'] ) { 40 40 if ( empty( $comment_author_url ) ) { 41 41 echo $avatar; … … 99 99 ?> 100 100 101 <?php if ( '0' == $comment->comment_approved ) : ?>101 <?php if ( '0' === $comment->comment_approved ) : ?> 102 102 <p class="comment-awaiting-moderation"><?php echo $moderation_note; ?></p> 103 103 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.