diff --git a/includes/class-db.php b/includes/class-db.php index 7b7182a..4b338f8 100644 --- a/includes/class-db.php +++ b/includes/class-db.php @@ -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(); @@ -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 ); } } diff --git a/readme.txt b/readme.txt index a4de817..b43e246 100644 --- a/readme.txt +++ b/readme.txt @@ -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 @@ -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 diff --git a/wordpress-zero-spam.php b/wordpress-zero-spam.php index b7700d7..55f5b91 100644 --- a/wordpress-zero-spam.php +++ b/wordpress-zero-spam.php @@ -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 & malicious activity a cinch. Just activate, configure, and say goodbye to spam. - * Version: 5.5.5 + * Version: 5.5.6 * Requires at least: 5.2 * Requires PHP: 7.3 * Author: Highfivery LLC @@ -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 );