Changeset 1056
- Timestamp:
- 04/07/2004 12:48:19 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1042 r1056 1569 1569 1570 1570 function check_comment($author, $email, $url, $comment, $user_ip) { 1571 if (1 == get_settings('comment_moderation')) return false; 1571 if (1 == get_settings('comment_moderation')) return false; // If moderation is set to manual 1572 if ('' == trim( get_settings('moderation_keys') ) ) return true; // If moderation keys are empty 1572 1573 $words = explode("\n", get_settings('moderation_keys') ); 1573 1574 foreach ($words as $word) { … … 1585 1586 if ($number >= get_settings('comment_max_links')) return false; 1586 1587 1587 return true;1588 return true; 1588 1589 } 1589 1590
Note: See TracChangeset
for help on using the changeset viewer.