Ticket #37319: comment.php.15.patch
| File comment.php.15.patch, 754 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/comment.php
51 51 $num_links = preg_match_all( '/<a [^>]*href/i', $comment, $out ); 52 52 53 53 /** 54 * Filters the maximum number of links allowed in acomment.54 * Filters the number of links found in the comment. 55 55 * 56 56 * @since 3.0.0 57 57 * 58 * @param int $num_links The number of links allowed.58 * @param int $num_links The number of links found in the comment. 59 59 * @param string $url Comment author's URL. Included in allowed links total. 60 60 */ 61 61 $num_links = apply_filters( 'comment_max_links_url', $num_links, $url );