Skip to content

Commit

Permalink
1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Sep 11, 2024
1 parent 50b7013 commit db6fe0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions altcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0
* Stable tag: 1.7.0
* Version: 1.8.0
* Stable tag: 1.8.0
* Requires at least: 5.0
* Requires PHP: 7.3
* Tested up to: 6.6
Expand Down Expand Up @@ -83,12 +83,12 @@
add_shortcode(
'altcha',
function ($attrs) {
$plugin = AltchaPlugin::$instance;
$default = array(
'language' => null,
'mode' => 'captcha',
'mode' => $plugin->get_integration_custom(),
);
$a = shortcode_atts($default, $attrs);
$plugin = AltchaPlugin::$instance;
return wp_kses($plugin->render_widget($a['mode'], true, $a['language']), AltchaPlugin::$html_espace_allowed_tags);
}
);
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0
Stable tag: 1.7.0
Version: 1.8.0
Stable tag: 1.8.0
Requires at least: 5.0
Requires PHP: 7.3
Tested up to: 6.6
Expand Down Expand Up @@ -94,6 +94,9 @@ All source code for the plugin, and the ALTCHA widget is available on GitHub. In

== Changelog ==

= 1.8.0 =
* Shortcode (custom integration) - fix mode (SpamFilter)

= 1.7.0 =
* HTML Forms - add Shortcode option

Expand Down

0 comments on commit db6fe0f

Please sign in to comment.