Skip to content

Commit

Permalink
1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Jan 19, 2025
1 parent 8c7c10c commit af03e5e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Subversion
run: sudo apt-get update && sudo apt-get install -y subversion
- name: WordPress Plugin Publish
uses: 10up/action-wordpress-plugin-deploy@stable
with:
Expand Down
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.15.0
* Stable tag: 1.15.0
* Version: 1.16.0
* Stable tag: 1.16.0
* 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.15.0');
define('ALTCHA_VERSION', '1.16.0');
define('ALTCHA_WEBSITE', 'https://altcha.org/');
define('ALTCHA_WIDGET_VERSION', '1.0.0');

Expand Down
4 changes: 4 additions & 0 deletions integrations/wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ function ($comment) {
if ($comment['comment_type'] != '' && $comment['comment_type'] != 'comment') {
return $comment;
}
// admin replies
if (is_user_logged_in() && current_user_can('manage_options')) {
return $comment;
}
$plugin = AltchaPlugin::$instance;
$mode = (altcha_plugin_active('wpdiscuz') && $plugin->get_integration_wpdiscuz()) || $plugin->get_integration_wordpress_comments();
if (!empty($mode)) {
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.15.0
Stable tag: 1.15.0
Version: 1.16.0
Stable tag: 1.16.0
Requires at least: 5.0
Requires PHP: 7.3
Tested up to: 6.6
Expand Down Expand Up @@ -97,6 +97,9 @@ All source code for the plugin, and the ALTCHA widget is available on GitHub. In

== Changelog ==

= 1.16.0 =
* Fix reply to comments from the admin page [#36]

= 1.15.0 =
* Translations with gettext and automatic language detection [#33]

Expand Down

0 comments on commit af03e5e

Please sign in to comment.