if ( $akismet_nonce_option == 'true' ||
$akismet_nonce_option == ''
) { $comment['akismet_comment_nonce'
] = 'failed';
if ( isset( $_POST['akismet_comment_nonce'
] ) &&
wp_verify_nonce( $_POST['akismet_comment_nonce'
], 'akismet_comment_nonce_' .
$comment['comment_post_ID'
] ) ) $comment['akismet_comment_nonce'
] = 'passed';
// comment reply in wp-admin
if ( isset( $_POST['_ajax_nonce-replyto-comment'
] ) &&
check_ajax_referer( 'replyto-comment', '_ajax_nonce-replyto-comment'
) ) $comment['akismet_comment_nonce'
] = 'passed';
} if ( self::
is_test_mode() ) $comment['is_test'
] = 'true';
foreach( $_POST as $key =>
$value ) { if ( is_string( $value ) ) $comment["POST_{
$key}"
] =
$value;
} foreach ( $_SERVER as $key =>
$value ) { if ( !
is_string( $value ) ) { continue;
}