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
This commit is contained in:
Dion Hulse 2010-04-18 03:45:24 +00:00
parent 70af67f01c
commit b85b748fdc
1 changed files with 1 additions and 1 deletions

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