Changeset 46117 for trunk/src/wp-content/themes/twentyten/functions.php
- Timestamp:
- 09/14/2019 08:59:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r45932 r46117 429 429 ?> 430 430 </div><!-- .comment-author .vcard --> 431 <?php if ( $comment->comment_approved == '0' ) : ?> 432 <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em> 433 <br /> 431 432 <?php 433 $commenter = wp_get_current_commenter(); 434 if ( $commenter['comment_author_email'] ) { 435 $moderation_note = __( 'Your comment is awaiting moderation.', 'twentyten' ); 436 } else { 437 $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentyten' ); 438 } 439 ?> 440 441 <?php if ( '0' == $comment->comment_approved ) : ?> 442 <em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em> 443 <br /> 434 444 <?php endif; ?> 435 445
Note: See TracChangeset
for help on using the changeset viewer.