Ticket #38314: 38314.diff
File 38314.diff, 1.3 KB (added by , 8 years ago) |
---|
-
src/wp-includes/comment-template.php
988 988 * 989 989 * @see Walker_Comment::comment() 990 990 * 991 * @param string $comment_text Text of the current comment.992 * @param WP_Comment $comment The comment object.993 * @param array $args An array of arguments.991 * @param string $comment_text Text of the current comment. 992 * @param null|WP_Comment $comment Comment object if available. 993 * @param null|array $args An array of arguments if available. 994 994 */ 995 995 echo apply_filters( 'comment_text', $comment_text, $comment, $args ); 996 996 } -
src/wp-includes/comment.php
44 44 return false; 45 45 46 46 /** This filter is documented in wp-includes/comment-template.php */ 47 $comment = apply_filters( 'comment_text', $comment );47 $comment = apply_filters( 'comment_text', $comment, null, null ); 48 48 49 49 // Check for the number of external links if a max allowed number is set. 50 50 if ( $max_links = get_option( 'comment_max_links' ) ) {