Changeset 15957
- Timestamp:
- 10/25/2010 03:11:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r15590 r15957 598 598 function get_comment_text( $comment_ID = 0 ) { 599 599 $comment = get_comment( $comment_ID ); 600 return apply_filters( 'get_comment_text', $comment->comment_content);600 return apply_filters( 'get_comment_text', $comment->comment_content, $comment ); 601 601 } 602 602 … … 611 611 */ 612 612 function comment_text( $comment_ID = 0 ) { 613 echo apply_filters('comment_text', get_comment_text() ); 613 $comment = get_comment( $comment_ID ); 614 echo apply_filters( 'comment_text', get_comment_text( $comment_ID ), $comment ); 614 615 } 615 616
Note: See TracChangeset
for help on using the changeset viewer.