Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f7ba3fd70d
commit
a07ec69bce
|
@ -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…
Reference in New Issue