Ticket #14261: 14261.diff
File 14261.diff, 775 bytes (added by , 15 years ago) |
---|
-
comment-template.php
601 601 */ 602 602 function get_comment_text( $comment_ID = 0 ) { 603 603 $comment = get_comment( $comment_ID ); 604 return apply_filters('get_comment_text', $comment->comment_content );604 return apply_filters('get_comment_text', $comment->comment_content, $comment_ID ); 605 605 } 606 606 607 607 /** … … 614 614 * @param int $comment_ID The ID of the comment for which to print the text. Optional. 615 615 */ 616 616 function comment_text( $comment_ID = 0 ) { 617 echo apply_filters('comment_text', get_comment_text( ));617 echo apply_filters('comment_text', get_comment_text( $comment_ID ), $comment_ID ); 618 618 } 619 619 620 620 /**