diff --git src/wp-content/themes/twentyeleven/functions.php src/wp-content/themes/twentyeleven/functions.php
index 52b53ba..d3546af 100644
|
|
|
if ( ! function_exists( 'twentyeleven_comment' ) ) : |
| 743 | 743 | <?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> |
| 744 | 744 | </div><!-- .comment-author .vcard --> |
| 745 | 745 | |
| 746 | | <?php if ( $comment->comment_approved == '0' ) : ?> |
| 747 | | <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyeleven' ); ?></em> |
| | 746 | <?php |
| | 747 | $commenter = wp_get_current_commenter(); |
| | 748 | if ( $commenter['comment_author_email'] ) { |
| | 749 | $moderation_note = __( 'Your comment is awaiting moderation.', 'twentyeleven' ); |
| | 750 | } else { |
| | 751 | $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentyeleven' ); |
| | 752 | } |
| | 753 | ?> |
| | 754 | |
| | 755 | <?php if ( '0' == $comment->comment_approved ) : ?> |
| | 756 | <em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em> |
| 748 | 757 | <br /> |
| 749 | | <?php endif; ?> |
| | 758 | <?php endif; ?> |
| 750 | 759 | |
| 751 | 760 | </footer> |
| 752 | 761 | |
diff --git src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
index cab6bec..30f8f83 100644
|
|
|
class TwentyNineteen_Walker_Comment extends Walker_Comment { |
| 88 | 88 | ?> |
| 89 | 89 | </div><!-- .comment-metadata --> |
| 90 | 90 | |
| | 91 | <?php |
| | 92 | $commenter = wp_get_current_commenter(); |
| | 93 | if ( $commenter['comment_author_email'] ) { |
| | 94 | $moderation_note = __( 'Your comment is awaiting moderation.', 'twentynineteen' ); |
| | 95 | } else { |
| | 96 | $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentynineteen' ); |
| | 97 | } |
| | 98 | ?> |
| | 99 | |
| 91 | 100 | <?php if ( '0' == $comment->comment_approved ) : ?> |
| 92 | | <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentynineteen' ); ?></p> |
| | 101 | <p class="comment-awaiting-moderation"><?php echo $moderation_note; ?></p> |
| 93 | 102 | <?php endif; ?> |
| | 103 | |
| 94 | 104 | </footer><!-- .comment-meta --> |
| 95 | 105 | |
| 96 | 106 | <div class="comment-content"> |
diff --git src/wp-content/themes/twentyten/functions.php src/wp-content/themes/twentyten/functions.php
index 2de25d3..bbceb06 100644
|
|
|
if ( ! function_exists( 'twentyten_comment' ) ) : |
| 425 | 425 | <?php echo get_avatar( $comment, 40 ); ?> |
| 426 | 426 | <?php printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?> |
| 427 | 427 | </div><!-- .comment-author .vcard --> |
| 428 | | <?php if ( $comment->comment_approved == '0' ) : ?> |
| 429 | | <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em> |
| 430 | | <br /> |
| | 428 | |
| | 429 | <?php |
| | 430 | $commenter = wp_get_current_commenter(); |
| | 431 | if ( $commenter['comment_author_email'] ) { |
| | 432 | $moderation_note = __( 'Your comment is awaiting moderation.', 'twentyten' ); |
| | 433 | } else { |
| | 434 | $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentyten' ); |
| | 435 | } |
| | 436 | ?> |
| | 437 | |
| | 438 | <?php if ( '0' == $comment->comment_approved ) : ?> |
| | 439 | <em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em> |
| | 440 | <br /> |
| 431 | 441 | <?php endif; ?> |
| 432 | 442 | |
| 433 | 443 | <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> |
diff --git src/wp-content/themes/twentytwelve/functions.php src/wp-content/themes/twentytwelve/functions.php
index ad89b2a..d09f52e 100644
|
|
|
if ( ! function_exists( 'twentytwelve_comment' ) ) : |
| 442 | 442 | ?> |
| 443 | 443 | </header><!-- .comment-meta --> |
| 444 | 444 | |
| | 445 | <?php |
| | 446 | $commenter = wp_get_current_commenter(); |
| | 447 | if ( $commenter['comment_author_email'] ) { |
| | 448 | $moderation_note = __( 'Your comment is awaiting moderation.', 'twentytwelve' ); |
| | 449 | } else { |
| | 450 | $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentytwelve' ); |
| | 451 | } |
| | 452 | ?> |
| | 453 | |
| 445 | 454 | <?php if ( '0' == $comment->comment_approved ) : ?> |
| 446 | | <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentytwelve' ); ?></p> |
| 447 | | <?php endif; ?> |
| | 455 | <p class="comment-awaiting-moderation"><?php echo $moderation_note; ?></p> |
| | 456 | <?php endif; ?> |
| 448 | 457 | |
| 449 | 458 | <section class="comment-content comment"> |
| 450 | 459 | <?php comment_text(); ?> |