From 6dcd17ff9c7989545381a7eff2639f712b808d07 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 29 Apr 2016 15:46:39 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-walker-comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-walker-comment.php b/src/wp-includes/class-walker-comment.php index 3065744e50..72220aaf0c 100644 --- a/src/wp-includes/class-walker-comment.php +++ b/src/wp-includes/class-walker-comment.php @@ -287,7 +287,7 @@ class Walker_Comment extends Walker { ?> - $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> + $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>