Changeset 1244410
- Timestamp:
- 09/13/2015 09:12:04 AM (10 years ago)
- File:
-
- 1 edited
-
i-am-human/trunk/iamhuman.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i-am-human/trunk/iamhuman.php
r1244015 r1244410 234 234 235 235 add_filter('preprocess_comment', 'iamhuman_validate_comment'); 236 236 237 /** 238 * Only enable for annonymous users, and if the required settings have been set. 239 */ 237 240 function iamhuman_is_enabled() { 238 241 239 return !is_user_logged_in() && get_option('colour_one') !== false && 242 return !is_user_logged_in() && get_option('colour_one') !== false && get_option('grid_size') !== false && 240 243 filter_var(get_option('enable_post_comments'), FILTER_VALIDATE_BOOLEAN); 241 244 }
Note: See TracChangeset
for help on using the changeset viewer.