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>
|
</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
|
<?php
|
||||||
comment_reply_link( array_merge( $args, array(
|
comment_reply_link( array_merge( $args, array(
|
||||||
|
|
Loading…
Reference in New Issue