mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Comments: pass $comment to comment_text() in Walker_Comment::comment() instead of using a function which can skip the cache.
Props rachelbaker. Fixes #35433. git-svn-id: https://develop.svn.wordpress.org/trunk@37325 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
00c39a3f98
commit
6dcd17ff9c
@ -287,7 +287,7 @@ class Walker_Comment extends Walker {
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php comment_text( get_comment_id(), array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
|
||||
<?php comment_text( $comment, array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
|
||||
|
||||
<?php
|
||||
comment_reply_link( array_merge( $args, array(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user