Changeset 4300
- Timestamp:
- 10/04/2006 04:45:22 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/comment-functions.php
r4294 r4300 834 834 if (1 == get_settings('comment_moderation')) return false; // If moderation is set to manual 835 835 836 if ( (count(explode('http:', $comment)) - 1) >= get_settings('comment_max_links') )836 if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') ) 837 837 return false; // Check # of external links 838 838
Note: See TracChangeset
for help on using the changeset viewer.