Skip to content

Commit

Permalink
1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Jul 27, 2024
1 parent 3ff0b15 commit 6869aea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions altcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
* 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.3.0
* Stable tag: 1.3.0
* Version: 1.3.1
* Stable tag: 1.3.1
* Requires at least: 5.0
* Requires PHP: 7.3
* Tested up to: 6.6
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

define('ALTCHA_VERSION', '1.3.0');
define('ALTCHA_VERSION', '1.3.1');
define('ALTCHA_WEBSITE', 'https://altcha.org/');
define('ALTCHA_WIDGET_VERSION', '0.6.4');
define('ALTCHA_LANGUAGES', [
Expand Down
2 changes: 1 addition & 1 deletion includes/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function init()
AltchaPlugin::$widget_version = ALTCHA_WIDGET_VERSION;
}
$url = wp_parse_url(get_site_url());
AltchaPlugin::$hostname = $url['host'] . ($url['port'] ? ':' . $url['port'] : '');
AltchaPlugin::$hostname = $url['host'] . (isset($url['port']) ? ':' . $url['port'] : '');
}

public function get_api()
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.3.0
Stable tag: 1.3.0
Version: 1.3.1
Stable tag: 1.3.1
Requires at least: 5.0
Requires PHP: 7.3
Tested up to: 6.6
Expand Down Expand Up @@ -93,6 +93,9 @@ All source code for the plugin, and the ALTCHA widget is available on GitHub. In

== Changelog ==

= 1.3.1 =
* Fix site_url parsing issue [#11]

= 1.3.0 =
* Added support for custom REST API prefixes

Expand Down

0 comments on commit 6869aea

Please sign in to comment.