Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.5.5 #381

Merged
merged 5 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The following versions of this project are currently being supported with securi
| Version | Supported |
| ------- | ------------------ |
| 5.5.1 | :white_check_mark: |
| <5.5.1 | :x: |
| <5.5.5 | :x: |

## Reporting a Vulnerability

Expand Down
12 changes: 8 additions & 4 deletions modules/comments/class-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,14 @@ public function add_scripts() {
'enabled' === \ZeroSpam\Core\Settings::get_settings( 'davidwalsh' )
) {
wp_enqueue_script( 'zerospam-davidwalsh' );
add_action( 'wp_footer', function() {
// .wpd_comm_form for the wpDiscuz plugin
echo '<script type="text/javascript">jQuery(".comment-form, #commentform, .wpd_comm_form").ZeroSpamDavidWalsh();</script>';
}, 999 );
add_action(
'wp_footer',
function (): void {
// .wpd_comm_form for the wpDiscuz plugin
echo '<script type="text/javascript">document.addEventListener("DOMContentLoaded", function() { jQuery(".comment-form, #commentform, .wpd_comm_form").ZeroSpamDavidWalsh(); });</script>';
},
999
);
}
}

Expand Down
11 changes: 8 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: bmarshall511
Tags: protection, firewall, security, spam, spam blocker
Donate link: https://www.zerospam.org/subscribe/
Requires at least: 5.2
Tested up to: 6.4.3
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 5.5.4
Stable tag: 5.5.5
License: GNU GPLv3
License URI: https://choosealicense.com/licenses/gpl-3.0/

Expand Down Expand Up @@ -107,9 +107,14 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

== Changelog ==

= v5.5.5 =

* fix(jquery): fix for jquery not found error when jquery is loaded with defer
* chore(splorp): updated the slorp blacklist

= v5.5.4 =

* fix(zero spam): fox for error in the zero spam api
* fix(zero spam): fix for error in the zero spam api

= v5.5.3 =

Expand Down
4 changes: 2 additions & 2 deletions wordpress-zero-spam.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Plugin Name: Zero Spam for WordPress
* Plugin URI: https://www.highfivery.com/projects/zero-spam/
* Description: Tired of all the ineffective WordPress anti-spam & security plugins? Zero Spam for WordPress makes blocking spam &amp; malicious activity a cinch. <strong>Just activate, configure, and say goodbye to spam.</strong>
* Version: 5.5.4
* Version: 5.5.5
* Requires at least: 5.2
* Requires PHP: 7.3
* Author: Highfivery LLC
Expand All @@ -31,7 +31,7 @@
define( 'ZEROSPAM', __FILE__ );
define( 'ZEROSPAM_PATH', plugin_dir_path( ZEROSPAM ) );
define( 'ZEROSPAM_PLUGIN_BASE', plugin_basename( ZEROSPAM ) );
define( 'ZEROSPAM_VERSION', '5.5.4' );
define( 'ZEROSPAM_VERSION', '5.5.5' );

if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );
Expand Down
Loading