Changeset 34040 for trunk/src/wp-includes/class-walker-comment.php
- Timestamp:
- 09/11/2015 06:11:35 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-comment.php
r34039 r34040 228 228 $tag = ( 'div' == $args['style'] ) ? 'div' : 'li'; 229 229 ?> 230 <<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( ); ?>>230 <<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>> 231 231 <div class="comment-body"> 232 232 <?php _e( 'Pingback:' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?> … … 256 256 } 257 257 ?> 258 <<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '' ); ?> id="comment-<?php comment_ID(); ?>">258 <<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>"> 259 259 <?php if ( 'div' != $args['style'] ) : ?> 260 260 <div id="div-comment-<?php comment_ID(); ?>" class="comment-body"> … … 309 309 $tag = ( 'div' === $args['style'] ) ? 'div' : 'li'; 310 310 ?> 311 <<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '' ); ?>>311 <<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>> 312 312 <article id="div-comment-<?php comment_ID(); ?>" class="comment-body"> 313 313 <footer class="comment-meta">
Note: See TracChangeset
for help on using the changeset viewer.