Skip to content

Commit c438ead

Browse files
authored
Merge pull request #381 from Highfivery/trunk
v5.5.5
2 parents 4097a82 + dc94902 commit c438ead

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The following versions of this project are currently being supported with securi
77
| Version | Supported |
88
| ------- | ------------------ |
99
| 5.5.1 | :white_check_mark: |
10-
| <5.5.1 | :x: |
10+
| <5.5.5 | :x: |
1111

1212
## Reporting a Vulnerability
1313

modules/comments/class-comments.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,14 @@ public function add_scripts() {
7272
'enabled' === \ZeroSpam\Core\Settings::get_settings( 'davidwalsh' )
7373
) {
7474
wp_enqueue_script( 'zerospam-davidwalsh' );
75-
add_action( 'wp_footer', function() {
76-
// .wpd_comm_form for the wpDiscuz plugin
77-
echo '<script type="text/javascript">jQuery(".comment-form, #commentform, .wpd_comm_form").ZeroSpamDavidWalsh();</script>';
78-
}, 999 );
75+
add_action(
76+
'wp_footer',
77+
function (): void {
78+
// .wpd_comm_form for the wpDiscuz plugin
79+
echo '<script type="text/javascript">document.addEventListener("DOMContentLoaded", function() { jQuery(".comment-form, #commentform, .wpd_comm_form").ZeroSpamDavidWalsh(); });</script>';
80+
},
81+
999
82+
);
7983
}
8084
}
8185

readme.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: bmarshall511
33
Tags: protection, firewall, security, spam, spam blocker
44
Donate link: https://www.zerospam.org/subscribe/
55
Requires at least: 5.2
6-
Tested up to: 6.4.3
6+
Tested up to: 6.5
77
Requires PHP: 7.4
8-
Stable tag: 5.5.4
8+
Stable tag: 5.5.5
99
License: GNU GPLv3
1010
License URI: https://choosealicense.com/licenses/gpl-3.0/
1111

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

108108
== Changelog ==
109109

110+
= v5.5.5 =
111+
112+
* fix(jquery): fix for jquery not found error when jquery is loaded with defer
113+
* chore(splorp): updated the slorp blacklist
114+
110115
= v5.5.4 =
111116

112-
* fix(zero spam): fox for error in the zero spam api
117+
* fix(zero spam): fix for error in the zero spam api
113118

114119
= v5.5.3 =
115120

wordpress-zero-spam.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Plugin Name: Zero Spam for WordPress
1414
* Plugin URI: https://www.highfivery.com/projects/zero-spam/
1515
* 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>
16-
* Version: 5.5.4
16+
* Version: 5.5.5
1717
* Requires at least: 5.2
1818
* Requires PHP: 7.3
1919
* Author: Highfivery LLC
@@ -31,7 +31,7 @@
3131
define( 'ZEROSPAM', __FILE__ );
3232
define( 'ZEROSPAM_PATH', plugin_dir_path( ZEROSPAM ) );
3333
define( 'ZEROSPAM_PLUGIN_BASE', plugin_basename( ZEROSPAM ) );
34-
define( 'ZEROSPAM_VERSION', '5.5.4' );
34+
define( 'ZEROSPAM_VERSION', '5.5.5' );
3535

3636
if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
3737
define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );

0 commit comments

Comments
 (0)