Skip to content

Commit

Permalink
Merge branch 'trunk' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarshall511 committed Apr 30, 2024
2 parents c438ead + ec0ef28 commit bdaba12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions includes/class-db.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct() {
* Installs & updates the DB tables
*/
public function update() {
if ( self::DB_VERSION !== get_site_option( 'zerospam_db_version' ) ) {
if ( self::DB_VERSION !== get_option( 'zerospam_db_version' ) ) {
global $wpdb;

$charset_collate = $wpdb->get_charset_collate();
Expand Down Expand Up @@ -77,7 +77,7 @@ public function update() {
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
dbDelta( $sql );

update_site_option( 'zerospam_db_version', self::DB_VERSION );
update_option( 'zerospam_db_version', self::DB_VERSION );
}
}

Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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.5
Tested up to: 6.5.2
Requires PHP: 7.4
Stable tag: 5.5.5
License: GNU GPLv3
Expand Down Expand Up @@ -107,6 +107,10 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

== Changelog ==

= v5.5.6 =

* fix(missing tables): fix for missing tables error on multisites, #377

= v5.5.5 =

* fix(jquery): fix for jquery not found error when jquery is loaded with defer
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.5
* Version: 5.5.6
* 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.5' );
define( 'ZEROSPAM_VERSION', '5.5.6' );

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

0 comments on commit bdaba12

Please sign in to comment.