mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: https://develop.svn.wordpress.org/trunk@16028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3c1191be53
commit
7b6f24eeeb
@ -308,7 +308,7 @@ function twentyten_comment( $comment, $args, $depth ) {
|
||||
<?php printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?>
|
||||
</div><!-- .comment-author .vcard -->
|
||||
<?php if ( $comment->comment_approved == '0' ) : ?>
|
||||
<em><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
|
||||
<em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
|
||||
|
@ -1354,7 +1354,7 @@ class Walker_Comment extends Walker {
|
||||
<?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link()) ?>
|
||||
</div>
|
||||
<?php if ($comment->comment_approved == '0') : ?>
|
||||
<em><?php _e('Your comment is awaiting moderation.') ?></em>
|
||||
<em class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.') ?></em>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user