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
This commit is contained in:
dd32 2010-04-18 03:45:24 +00:00
parent abcbdf58b2
commit 7058bb3db8

View File

@ -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) );
}
/**