Changeset 4299
- Timestamp:
- 10/04/06 04:43:25 (2 years ago)
- Files:
-
- trunk/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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
