mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
abcbdf58b2
commit
7058bb3db8
@ -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) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user