Changeset 2986098
- Timestamp:
- 10/30/2023 12:14:35 PM (17 months ago)
- Location:
- friendly-captcha
- Files:
-
- 2 added
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
friendly-captcha/tags/1.12.0/friendly-captcha.php
r2953082 r2986098 4 4 * Plugin Name: Friendly Captcha for WordPress 5 5 * Description: Protect WordPress website forms from spam and abuse with Friendly Captcha, a privacy-first anti-bot solution. 6 * Version: 1.1 1.06 * Version: 1.12.0 7 7 * Requires at least: 5.0 8 8 * Requires PHP: 7.3 … … 20 20 } 21 21 22 define('FRIENDLY_CAPTCHA_VERSION', '1.1 1.0');22 define('FRIENDLY_CAPTCHA_VERSION', '1.12.0'); 23 23 define('FRIENDLY_CAPTCHA_FRIENDLY_CHALLENGE_VERSION', '0.9.12'); 24 24 define('FRIENDLY_CAPTCHA_SUPPORTED_LANGUAGES', [ -
friendly-captcha/tags/1.12.0/includes/core.php
r2953082 r2986098 20 20 public static $option_sitekey_name = "frcaptcha_sitekey"; 21 21 public static $option_api_key_name = "frcaptcha_api_key"; 22 public static $option_skip_style_injection = "frcaptcha_skip_style_injection"; 22 public static $option_skip_style_injection_name = "frcaptcha_skip_style_injection"; 23 public static $option_enable_mutation_observer_name = "frcaptcha_enable_mutation_observer"; 23 24 24 25 // Integrations … … 98 99 99 100 public function get_skip_style_injection() { 100 return get_option(FriendlyCaptcha_Plugin::$option_skip_style_injection) == 1; 101 return get_option(FriendlyCaptcha_Plugin::$option_skip_style_injection_name) == 1; 102 } 103 104 public function get_enable_mutation_observer() { 105 return get_option(FriendlyCaptcha_Plugin::$option_enable_mutation_observer_name) == 1; 101 106 } 102 107 -
friendly-captcha/tags/1.12.0/includes/settings.php
r2953082 r2986098 17 17 register_setting( 18 18 FriendlyCaptcha_Plugin::$option_group, 19 FriendlyCaptcha_Plugin::$option_skip_style_injection 19 FriendlyCaptcha_Plugin::$option_skip_style_injection_name 20 ); 21 register_setting( 22 FriendlyCaptcha_Plugin::$option_group, 23 FriendlyCaptcha_Plugin::$option_enable_mutation_observer_name 20 24 ); 21 25 … … 573 577 'frcaptcha_widget_settings_section', 574 578 array( 575 "option_name" => FriendlyCaptcha_Plugin::$option_skip_style_injection ,579 "option_name" => FriendlyCaptcha_Plugin::$option_skip_style_injection_name, 576 580 "description" => "Don't load the CSS-Styles for the widget. Use this if you want to style the widget yourself.", 577 581 "type" => "checkbox" 578 582 ) 579 583 ); 584 585 add_settings_field( 586 'frcaptcha_settings_mutation_observer', 587 'Dynamically Initialize', 'frcaptcha_settings_field_callback', 588 'friendly_captcha_admin', 589 'frcaptcha_widget_settings_section', 590 array( 591 "option_name" => FriendlyCaptcha_Plugin::$option_enable_mutation_observer_name, 592 "description" => "Make Friendly Captcha look for new widgets that are dynamically added to the page.<br>Enable this when you are using Friendly Captcha in a popup or a multi-step form.", 593 "type" => "checkbox" 594 ) 595 ); 596 580 597 581 598 /* Endpoint section */ -
friendly-captcha/tags/1.12.0/public/widgets.php
r2824232 r2986098 25 25 true 26 26 ); 27 28 if ( $plugin->get_enable_mutation_observer() ) { 29 wp_enqueue_script( 'friendly-captcha-mutation-observer', 30 plugin_dir_url( __FILE__ ) . 'mutation-observer.js', 31 array(), 32 $version, 33 true 34 ); 35 } 27 36 } 28 37 -
friendly-captcha/tags/1.12.0/readme.txt
r2953082 r2986098 5 5 Tested up to: 6.3 6 6 Requires PHP: 7.3 7 Stable tag: 1.1 1.07 Stable tag: 1.12.0 8 8 License: GPL v2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 95 95 == Changelog == 96 96 97 = 1.12.0 = 98 * Support widgets that are dynamically added to the page (e.g. popups or multi-step forms) 99 97 100 = 1.11.0 = 98 101 * Add support for Forge12 Contact Form 7 Double Opt-In -
friendly-captcha/trunk/friendly-captcha.php
r2953082 r2986098 4 4 * Plugin Name: Friendly Captcha for WordPress 5 5 * Description: Protect WordPress website forms from spam and abuse with Friendly Captcha, a privacy-first anti-bot solution. 6 * Version: 1.1 1.06 * Version: 1.12.0 7 7 * Requires at least: 5.0 8 8 * Requires PHP: 7.3 … … 20 20 } 21 21 22 define('FRIENDLY_CAPTCHA_VERSION', '1.1 1.0');22 define('FRIENDLY_CAPTCHA_VERSION', '1.12.0'); 23 23 define('FRIENDLY_CAPTCHA_FRIENDLY_CHALLENGE_VERSION', '0.9.12'); 24 24 define('FRIENDLY_CAPTCHA_SUPPORTED_LANGUAGES', [ -
friendly-captcha/trunk/includes/core.php
r2953082 r2986098 20 20 public static $option_sitekey_name = "frcaptcha_sitekey"; 21 21 public static $option_api_key_name = "frcaptcha_api_key"; 22 public static $option_skip_style_injection = "frcaptcha_skip_style_injection"; 22 public static $option_skip_style_injection_name = "frcaptcha_skip_style_injection"; 23 public static $option_enable_mutation_observer_name = "frcaptcha_enable_mutation_observer"; 23 24 24 25 // Integrations … … 98 99 99 100 public function get_skip_style_injection() { 100 return get_option(FriendlyCaptcha_Plugin::$option_skip_style_injection) == 1; 101 return get_option(FriendlyCaptcha_Plugin::$option_skip_style_injection_name) == 1; 102 } 103 104 public function get_enable_mutation_observer() { 105 return get_option(FriendlyCaptcha_Plugin::$option_enable_mutation_observer_name) == 1; 101 106 } 102 107 -
friendly-captcha/trunk/includes/settings.php
r2953082 r2986098 17 17 register_setting( 18 18 FriendlyCaptcha_Plugin::$option_group, 19 FriendlyCaptcha_Plugin::$option_skip_style_injection 19 FriendlyCaptcha_Plugin::$option_skip_style_injection_name 20 ); 21 register_setting( 22 FriendlyCaptcha_Plugin::$option_group, 23 FriendlyCaptcha_Plugin::$option_enable_mutation_observer_name 20 24 ); 21 25 … … 573 577 'frcaptcha_widget_settings_section', 574 578 array( 575 "option_name" => FriendlyCaptcha_Plugin::$option_skip_style_injection ,579 "option_name" => FriendlyCaptcha_Plugin::$option_skip_style_injection_name, 576 580 "description" => "Don't load the CSS-Styles for the widget. Use this if you want to style the widget yourself.", 577 581 "type" => "checkbox" 578 582 ) 579 583 ); 584 585 add_settings_field( 586 'frcaptcha_settings_mutation_observer', 587 'Dynamically Initialize', 'frcaptcha_settings_field_callback', 588 'friendly_captcha_admin', 589 'frcaptcha_widget_settings_section', 590 array( 591 "option_name" => FriendlyCaptcha_Plugin::$option_enable_mutation_observer_name, 592 "description" => "Make Friendly Captcha look for new widgets that are dynamically added to the page.<br>Enable this when you are using Friendly Captcha in a popup or a multi-step form.", 593 "type" => "checkbox" 594 ) 595 ); 596 580 597 581 598 /* Endpoint section */ -
friendly-captcha/trunk/public/widgets.php
r2824232 r2986098 25 25 true 26 26 ); 27 28 if ( $plugin->get_enable_mutation_observer() ) { 29 wp_enqueue_script( 'friendly-captcha-mutation-observer', 30 plugin_dir_url( __FILE__ ) . 'mutation-observer.js', 31 array(), 32 $version, 33 true 34 ); 35 } 27 36 } 28 37 -
friendly-captcha/trunk/readme.txt
r2953082 r2986098 5 5 Tested up to: 6.3 6 6 Requires PHP: 7.3 7 Stable tag: 1.1 1.07 Stable tag: 1.12.0 8 8 License: GPL v2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 95 95 == Changelog == 96 96 97 = 1.12.0 = 98 * Support widgets that are dynamically added to the page (e.g. popups or multi-step forms) 99 97 100 = 1.11.0 = 98 101 * Add support for Forge12 Contact Form 7 Double Opt-In
Note: See TracChangeset
for help on using the changeset viewer.