From b85b748fdc1433f34c5604c614df3da8608585dc Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sun, 18 Apr 2010 03:45:24 +0000 Subject: [PATCH] Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874 git-svn-id: https://develop.svn.wordpress.org/trunk@14128 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index c19b72e6ad..af2aa3fffa 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -432,7 +432,7 @@ function get_comment_excerpt( $comment_ID = 0 ) { * @param int $comment_ID The ID of the comment for which to print the excerpt. Optional. */ function comment_excerpt( $comment_ID = 0 ) { - echo apply_filters('comment_excerpt', get_comment_excerpt() ); + echo apply_filters('comment_excerpt', get_comment_excerpt($comment_ID) ); } /**