From 057dbfc7652eb2f13b72045465c8210bc661b1d6 Mon Sep 17 00:00:00 2001 From: Daniel Regeci <536331+ovx@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:21:42 -0300 Subject: [PATCH] 1.6.1 --- altcha.php | 6 +++--- integrations/wordpress.php | 2 ++ readme.txt | 7 +++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/altcha.php b/altcha.php index c9314e8..f34a87f 100644 --- a/altcha.php +++ b/altcha.php @@ -7,8 +7,8 @@ * Description: ALTCHA is a free, open-source CAPTCHA alternative that offers robust protection without using cookies, ensuring full GDPR compliance by design. It also provides invisible anti-spam and anti-bot protection through ALTCHA's API. * Author: Altcha.org * Author URI: https://altcha.org - * Version: 1.6.0 - * Stable tag: 1.6.0 + * Version: 1.6.1 + * Stable tag: 1.6.1 * Requires at least: 5.0 * Requires PHP: 7.3 * Tested up to: 6.6 @@ -16,7 +16,7 @@ * License URI: https://www.gnu.org/licenses/gpl-2.0.html */ -define('ALTCHA_VERSION', '1.6.0'); +define('ALTCHA_VERSION', '1.6.1'); define('ALTCHA_WEBSITE', 'https://altcha.org/'); define('ALTCHA_WIDGET_VERSION', '0.6.7'); define('ALTCHA_LANGUAGES', [ diff --git a/integrations/wordpress.php b/integrations/wordpress.php index c9da016..ca725f7 100644 --- a/integrations/wordpress.php +++ b/integrations/wordpress.php @@ -151,6 +151,8 @@ function ($comment) { function altcha_wordpress_comments_render_widget($mode, $full_width = false) { $plugin = AltchaPlugin::$instance; + altcha_enqueue_scripts(); + altcha_enqueue_styles(); echo wp_kses(wp_nonce_field('altcha_verification', '_altchanonce'), AltchaPlugin::$html_espace_allowed_tags); echo wp_kses($plugin->render_widget($mode, true), AltchaPlugin::$html_espace_allowed_tags); } \ No newline at end of file diff --git a/readme.txt b/readme.txt index 4c37d17..a748357 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Tags: altcha, captcha, spam, anti-spam, anti-bot, antispam, recaptcha, hcaptcha, gdpr Author: Altcha.org Author URI: https://altcha.org -Version: 1.6.0 -Stable tag: 1.6.0 +Version: 1.6.1 +Stable tag: 1.6.1 Requires at least: 5.0 Requires PHP: 7.3 Tested up to: 6.6 @@ -94,6 +94,9 @@ All source code for the plugin, and the ALTCHA widget is available on GitHub. In == Changelog == += 1.6.1 = +* Fix WordPress login integration + = 1.6.0 = * Fix Elementor Pro Forms widget rendering * Fix Contact Form 7 widget position and shortcode support