WordPress.org

Make WordPress Core

Changeset 16028


Ignore:
Timestamp:
10/28/10 03:58:51 (3 years ago)
Author:
nacin
Message:

Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r16005 r16028  
    309309        </div><!-- .comment-author .vcard --> 
    310310        <?php if ( $comment->comment_approved == '0' ) : ?> 
    311             <em><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em> 
     311            <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em> 
    312312            <br /> 
    313313        <?php endif; ?> 
  • trunk/wp-includes/comment-template.php

    r15957 r16028  
    13551355        </div> 
    13561356<?php if ($comment->comment_approved == '0') : ?> 
    1357         <em><?php _e('Your comment is awaiting moderation.') ?></em> 
     1357        <em class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.') ?></em> 
    13581358        <br /> 
    13591359<?php endif; ?> 
Note: See TracChangeset for help on using the changeset viewer.