WordPress Zero Spam - Version 4.4.1

Version Description

  • Fix for Gravity Forms not submitting
Download this release

Release Info

Developer bmarshall511
Plugin Icon 128x128 WordPress Zero Spam
Version 4.4.1
Comparing to
See all releases

Code changes from version 4.4.0 to 4.4.1

integrations/gravity-forms/gravity-forms.php CHANGED
@@ -26,7 +26,7 @@ add_action( 'gform_pre_submission', 'wpzerospam_gform_validate' );
26
  * Enqueue the Gravity Forms JS
27
  */
28
  if ( ! function_exists( 'wpzerospam_gravity_forms' ) ) {
29
- function wpzerospam_gravity_forms() {
30
  wp_enqueue_script(
31
  'wpzerospam-integration-gravity-forms',
32
  plugin_dir_url( WORDPRESS_ZERO_SPAM ) .
@@ -37,4 +37,4 @@ if ( ! function_exists( 'wpzerospam_gravity_forms' ) ) {
37
  );
38
  }
39
  }
40
- add_action( 'wpcf7_enqueue_scripts', 'wpzerospam_gravity_forms' );
26
  * Enqueue the Gravity Forms JS
27
  */
28
  if ( ! function_exists( 'wpzerospam_gravity_forms' ) ) {
29
+ function wpzerospam_gravity_forms( $form ) {
30
  wp_enqueue_script(
31
  'wpzerospam-integration-gravity-forms',
32
  plugin_dir_url( WORDPRESS_ZERO_SPAM ) .
37
  );
38
  }
39
  }
40
+ add_action( 'gform_enqueue_scripts', 'wpzerospam_gravity_forms' );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://benmarshall.me/donate/?utm_source=wordpress_zero_spam&utm_m
5
  Requires at least: 5.2
6
  Tested up to: 5.4.2
7
  Requires PHP: 7.1
8
- Stable tag: 4.4.0
9
  License: GNU GPLv3
10
  License URI: https://choosealicense.com/licenses/gpl-3.0/
11
 
@@ -93,6 +93,10 @@ Yes, that's what does the magic and keeps spam bots out.
93
 
94
  == Changelog ==
95
 
 
 
 
 
96
  = 4.4.0 =
97
 
98
  * Misc. code clean-up
5
  Requires at least: 5.2
6
  Tested up to: 5.4.2
7
  Requires PHP: 7.1
8
+ Stable tag: 4.4.1
9
  License: GNU GPLv3
10
  License URI: https://choosealicense.com/licenses/gpl-3.0/
11
 
93
 
94
  == Changelog ==
95
 
96
+ = 4.4.1 =
97
+
98
+ * Fix for Gravity Forms not submitting
99
+
100
  = 4.4.0 =
101
 
102
  * Misc. code clean-up
wordpress-zero-spam.php CHANGED
@@ -13,7 +13,7 @@
13
  * Plugin Name: WordPress Zero Spam
14
  * Plugin URI: https://benmarshall.me/wordpress-zero-spam
15
  * Description: Tired of all the useless and bloated WordPress spam plugins? The WordPress Zero Spam plugin makes blocking spam a cinch. <strong>Just install, activate and say goodbye to spam.</strong> Based on work by <a href="http://davidwalsh.name/wordpress-comment-spam" target="_blank">David Walsh</a>.
16
- * Version: 4.4.0
17
  * Requires at least: 5.2
18
  * Requires PHP: 7.2
19
  * Author: Ben Marshall
@@ -31,7 +31,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
31
  // Define plugin constants
32
  define( 'WORDPRESS_ZERO_SPAM', __FILE__ );
33
  define( 'WORDPRESS_ZERO_SPAM_DB_VERSION', '0.1' );
34
- define( 'WORDPRESS_ZERO_SPAM_VERSION', '4.4.0' );
35
 
36
  /**
37
  * Helpers
13
  * Plugin Name: WordPress Zero Spam
14
  * Plugin URI: https://benmarshall.me/wordpress-zero-spam
15
  * Description: Tired of all the useless and bloated WordPress spam plugins? The WordPress Zero Spam plugin makes blocking spam a cinch. <strong>Just install, activate and say goodbye to spam.</strong> Based on work by <a href="http://davidwalsh.name/wordpress-comment-spam" target="_blank">David Walsh</a>.
16
+ * Version: 4.4.1
17
  * Requires at least: 5.2
18
  * Requires PHP: 7.2
19
  * Author: Ben Marshall
31
  // Define plugin constants
32
  define( 'WORDPRESS_ZERO_SPAM', __FILE__ );
33
  define( 'WORDPRESS_ZERO_SPAM_DB_VERSION', '0.1' );
34
+ define( 'WORDPRESS_ZERO_SPAM_VERSION', '4.4.1' );
35
 
36
  /**
37
  * Helpers