From 7058bb3db8e7163956117bb1358cbafb8d6cbc24 Mon Sep 17 00:00:00 2001 From: dd32 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: http://svn.automattic.com/wordpress/trunk@14128 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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) ); } /**