'; echo '

' . esc_html__('Almost done...', 'simple-cloudflare-turnstile') . '

'; } if ( ! isset($_POST['cf-turnstile-response']) ) { if(! $soft ) { echo '

' . '' . esc_html__('API keys have been updated. Please test the Turnstile API response below.', 'simple-cloudflare-turnstile') . '' . '
' . esc_html__('Turnstile will not be added to any forms until the test is successfully complete.', 'simple-cloudflare-turnstile') . '

'; } } else { if ($success == true) { update_option( 'cfturnstile_tested', 'yes' ); delete_option( 'cfturnstile_invalid_secret_notice' ); delete_option( 'cfturnstile_soft_tested' ); delete_transient( 'cfturnstile_invalid_secret_throttle' ); } else { if ($error == "missing-input-response") { echo '

' . cfturnstile_failed_message() . '

'; } else { echo '

' . esc_html__('Failed! There is an error with your API settings. Please check & update them.', 'simple-cloudflare-turnstile') . '

'; } } if ($error) { echo '

' . esc_html__('Error message:', 'simple-cloudflare-turnstile') . " " . cfturnstile_error_message($error) . '

'; } } if ($success != true) { echo '
'; echo cfturnstile_field_show('', '', 'admin-test', 'admin-test'); echo '
'; echo ''; if ( ! $soft ) { echo ''; } } } ?>

5 ) ); $cf_admin_is_down = is_wp_error( $cf_status_check ) || wp_remote_retrieve_response_code( $cf_status_check ) >= 500; $cf_admin_error_msg = is_wp_error( $cf_status_check ) ? $cf_status_check->get_error_message() : ''; set_transient( 'cfturnstile_admin_cf_status', array( 'down' => $cf_admin_is_down, 'error' => $cf_admin_error_msg ), 2 * MINUTE_IN_SECONDS ); } else { $cf_admin_is_down = $cf_status_transient['down']; $cf_admin_error_msg = $cf_status_transient['error']; } if ( $cf_admin_is_down ) { ?>

 • 

'; echo '

' . esc_html__( 'Re-test Recommended', 'simple-cloudflare-turnstile' ) . '

'; echo '

' . esc_html__( 'Cloudflare reported an invalid secret key error. Turnstile is still active on your forms, but verifications may be failing. Please re-test your API keys below.', 'simple-cloudflare-turnstile' ) . '

'; echo $soft_test_output; echo '
'; } } ?>

' . esc_html__('Success! Turnstile is working correctly with your API keys.', 'simple-cloudflare-turnstile') . '

'; } } ?>

https://dash.cloudflare.com/?to=/:account/turnstile

%s

', esc_html__('Using keys defined in wp-config.php. Be sure to test your forms to confirm they are working.', 'simple-cloudflare-turnstile') ); } ?>


checked>





checked>

checked>


checked>
checked>
checked>
checked>


checked>

checked>
checked>
checked>
checked>
checked>
checked>
checked>


-

-

checked>

checked>

checked>

payment_gateways->get_available_payment_gateways(); ?>

' . esc_html__('WooCommerce', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
checked>
checked>


-
checked>

checked>
' . esc_html__('Sunshine Photo Cart', 'simple-cloudflare-turnstile') . ''); } ?>


-
checked>

checked>
checked>
checked>
' . esc_html__('Easy Digital Downloads', 'simple-cloudflare-turnstile') . ''); } ?>


-
checked>

checked>
checked title='' disabled>
' disabled>
' . esc_html__('Paid Memberships PRO', 'simple-cloudflare-turnstile') . ''); } ?>
checked>


[cf7-simple-turnstile]
' . esc_html__('Contact Form 7', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('WPForms', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('Gravity Forms', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('Fluent Forms', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('SureForms', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('Jetpack Forms', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('Formidable', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('Forminator', 'simple-cloudflare-turnstile') . ''); } ?>

checked>

Element Caching for the Elementor form on your page, or set "Load scripts on" to "All pages".', 'simple-cloudflare-turnstile'), 'https://elementor.com/help/element-caching-help/' ) ); ?>

' . esc_html__('Elementor Forms', 'simple-cloudflare-turnstile') . ''); } ?>

[mc4wp-simple-turnstile]
' . esc_html__('Mailchimp for WordPress', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('MailPoet', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('Kadence Forms', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
' . esc_html__('BuddyPress', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
checked>
checked>
' . esc_html__('bbPress', 'simple-cloudflare-turnstile') . ''); } ?>
checked>
checked>
checked>
' . esc_html__('Ultimate Member', 'simple-cloudflare-turnstile') . ''); } ?>
checked title='' disabled>

checked>

' . esc_html__('MemberPress', 'simple-cloudflare-turnstile') . ''); } ?>


' . esc_html__('WP-Members', 'simple-cloudflare-turnstile') . ''); } ?>
checked title='' disabled>
checked title='' disabled>
checked>
checked>
' . esc_html__('WP User Frontend', 'simple-cloudflare-turnstile') . ''); } ?>

' . esc_html__('WP User Manager', 'simple-cloudflare-turnstile') . ''); } ?> ' . esc_html__('wpDiscuz', 'simple-cloudflare-turnstile') . ''); } ?>

1) echo 'and '; echo wp_kses( $not_plugin, array( 'a' => array( 'href' => array(), 'target' => array() ) ) ); if ($not_plugin != $last_plugin) { echo ', '; } else { echo '.'; } } ?>

checked style="transform: scale(0.7); margin: -2px 0 0 0;">
checked style="transform: scale(0.7); margin: -2px 0 0 0;">



'; echo ''; echo '

'; echo ''; echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; foreach ($cfturnstile_log_reversed as $log) { echo ''; $log['date'] = date_i18n(get_option('date_format') . ' ' . get_option('time_format'), strtotime($log['date'])); echo ''; echo ''; echo ''; echo ''; } echo ''; echo ''; echo '
' . esc_html__('Date', 'simple-cloudflare-turnstile') . '' . esc_html__('Success', 'simple-cloudflare-turnstile') . '' . esc_html__('Response', 'simple-cloudflare-turnstile') . '' . esc_html__('Info', 'simple-cloudflare-turnstile') . '
' . esc_html($log['date']) . '' . ($log['success'] ? 'Yes' : 'No') . ''; if(!$log['success']) { $error_val = $log['error']; echo esc_html($error_val); } else { echo '' . esc_html__('Success', 'simple-cloudflare-turnstile') . ''; } echo ''; echo '' . esc_html__('IP:', 'simple-cloudflare-turnstile') . ' ' . esc_html($log['ip']) . '
'; echo '' . esc_html__('URL:', 'simple-cloudflare-turnstile') . ' ' . esc_html($log['page']); echo '
'; echo '
'; echo '
'; // Error code meanings echo '
'; echo '' . esc_html__('Error Codes', 'simple-cloudflare-turnstile') . '
'; echo '- missing-input-response: ' . cfturnstile_error_message('missing-input-response') . esc_html__(' (Visitor submitted form when Turnstile was not successfully completed.)', 'simple-cloudflare-turnstile') . '
'; echo '- missing-input-secret: ' . cfturnstile_error_message('missing-input-secret') . '
'; echo '- invalid-input-secret: ' . cfturnstile_error_message('invalid-input-secret') . '
'; echo '- invalid-input-response: ' . cfturnstile_error_message('invalid-input-response') . '
'; echo '- bad-request: ' . cfturnstile_error_message('bad-request') . '
'; echo '- timeout-or-duplicate: ' . cfturnstile_error_message('timeout-or-duplicate') . '
'; echo '- internal-error: ' . cfturnstile_error_message('internal-error') . '
'; echo '
'; } else { echo '

'; echo ''; echo '

'; echo ''; echo '

' . esc_html__('No events logged yet.', 'simple-cloudflare-turnstile') . '

'; } ?>

:

WordPress.org.', 'simple-cloudflare-turnstile' ) ), 'https://wordpress.org/support/plugin/simple-cloudflare-turnstile/reviews/?filter=5#new-post' ); ?>