Make WordPress Core

Ticket #29895: 29895.diff

File 29895.diff, 1.4 KB (added by obenland, 12 years ago)
  • src/wp-includes/comment-template.php

     
    18391839
    18401840                <?php comment_text( get_comment_id(), array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    18411841
    1842                 <div class="reply">
    1843                         <?php comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    1844                 </div>
     1842                <?php comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '<div class="reply">', 'after' => '</div>' ) ) ); ?>
     1843
    18451844                <?php if ( 'div' != $args['style'] ) : ?>
    18461845                </div>
    18471846                <?php endif; ?>
    … …  
    18891888                                        <?php comment_text(); ?>
    18901889                                </div><!-- .comment-content -->
    18911890
    1892                                 <div class="reply">
    1893                                         <?php comment_reply_link( array_merge( $args, array( 'add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    1894                                 </div><!-- .reply -->
     1891                                <?php comment_reply_link( array_merge( $args, array( 'add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '<div class="reply">', 'after' => '</div>' ) ) ); ?>
    18951892                        </article><!-- .comment-body -->
    18961893<?php
    18971894        }