| 1650 | | $ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author_email = '$email' and comment_approved = '1' "); |
|---|
| 1651 | | if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) ) |
|---|
| | 1650 | if( $author != '' && $email != '' ) { |
|---|
| | 1651 | $ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author_email = '$email' and comment_approved = '1' "); |
|---|
| | 1652 | if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) ) |
|---|