Changeset 3254993
- Timestamp:
- 03/12/2025 07:40:10 PM (13 months ago)
- Location:
- trustcaptcha/trunk
- Files:
-
- 5 edited
-
readme.txt (modified) (1 diff)
-
src/php/Plugins/Wordpress/LostPassword.php (modified) (1 diff)
-
src/php/Settings/General.php (modified) (1 diff)
-
src/php/Settings/Plugins.php (modified) (2 diffs)
-
trustcaptcha.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trustcaptcha/trunk/readme.txt
r3254837 r3254993 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.0 7 Stable tag: 1. 0.07 Stable tag: 1.1.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
trustcaptcha/trunk/src/php/Plugins/Wordpress/LostPassword.php
r3254866 r3254993 12 12 { 13 13 add_action( 'lostpassword_form', [ Trustcaptcha::class, 'get_html' ] ); 14 add_action( 'login_head', [ Trustcaptcha::class, 'load_head' ] ); 14 15 add_action( 'lostpassword_post', [ $this, 'validate_captcha' ], 10, 1 ); 15 16 } -
trustcaptcha/trunk/src/php/Settings/General.php
r3254866 r3254993 199 199 $field = esc_attr( $args['label_for'] ); 200 200 $type = esc_attr( $args['type'] ?? 'number' ); 201 $value = esc_attr( $options[ $field ] ?? '' );202 201 $min = esc_attr( $args['min'] ); 203 202 $max = esc_attr( $args['max'] ); 204 203 $step = esc_attr( $args['step'] ); 204 if ( 'field_threshold' === $field && !isset( $options[ $field ] ) ) { 205 $value = '0.5'; 206 } else { 207 $value = esc_attr( $options[ $field ] ?? '' ); 208 } 205 209 206 210 printf('<input id="%s" name="%s[%s]" type="%s" value="%s" min="%s" max="%s" step="%s">', $field, $group, $field, $type, $value, $min, $max, $step); -
trustcaptcha/trunk/src/php/Settings/Plugins.php
r3254866 r3254993 21 21 'comment' => __( 'Comment Form', 'trustcaptcha-for-forms' ), 22 22 ], 23 'hint' => __( ' Hinweis: Wenn das Login aktiviert ist, sollte der Threshold nicht unter 0.5 gesetzt werden, um eine versehentliche Aussperrung von Ihrer eigenen WordPress-Seite zu vermeiden.', 'trustcaptcha-for-forms' ),23 'hint' => __( 'Note: Before you activate the login form - make sure that Trustcaptcha is configured correctly and the threshold is at best not below 0.5 so that you are not locked out of your own WordPress website.', 'trustcaptcha-for-forms' ), 24 24 ]); 25 25 add_settings_field('woocommerce', $this->get_plugin_logo( 'woocommerce' ), [ $this, 'render_plugin_field' ], $setting_plugins, $setting_plugins, [ … … 34 34 'checkout' => __( 'Checkout', 'trustcaptcha-for-forms' ), 35 35 ], 36 'hint' => __( ' Hinweis: Wenn das Login aktiviert ist, sollte der Threshold nicht unter 0.5 gesetzt werden, um eine versehentliche Aussperrung von Ihrer eigenen WordPress-Seite zu vermeiden.', 'trustcaptcha-for-forms' ),36 'hint' => __( 'Note: Before you activate the login form - make sure that Trustcaptcha is configured correctly and the threshold is at best not below 0.5 so that you are not locked out of your own WordPress website.', 'trustcaptcha-for-forms' ), 37 37 ]); 38 38 add_settings_field('elementor', $this->get_plugin_logo( 'elementor' ), [ $this, 'render_plugin_field' ], $setting_plugins, $setting_plugins, [ -
trustcaptcha/trunk/trustcaptcha.php
r3254837 r3254993 8 8 * Plugin URI: https://docs.trustcaptcha.com/en/platforms/wordpress 9 9 * Description: GDPR-compliant reCAPTCHA alternative with bot score. Protect your website from bot attacks and spam with our invisible and GDPR-compliant reCAPTCHA alternative. Benefit from our multi-layered security concept with proof-of-work and intelligent bot score for reliable bot detection. 10 * Version: 1.1. 010 * Version: 1.1.1 11 11 * Author: Trustcaptcha GmbH 12 12 * Author URI: https://www.trustcaptcha.com … … 31 31 32 32 const TRUSTCAPTCHA_BASE_FILE = __FILE__; 33 const PLUGIN_VERSION = '1.1. 0';33 const PLUGIN_VERSION = '1.1.1'; 34 34 35 35 require 'vendor/autoload.php';
Note: See TracChangeset
for help on using the changeset viewer.