Changeset 4299
- Timestamp:
- 10/04/2006 04:43:25 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r4293 r4299 6 6 if (1 == get_option('comment_moderation')) return false; // If moderation is set to manual 7 7 8 if ( (count(explode('http:', $comment)) - 1) >= get_option('comment_max_links') )8 if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') ) 9 9 return false; // Check # of external links 10 10
Note: See TracChangeset
for help on using the changeset viewer.