diff --git a/host-analyticsjs-local.php b/host-analyticsjs-local.php index acdaf8d..0bda21b 100644 --- a/host-analyticsjs-local.php +++ b/host-analyticsjs-local.php @@ -3,7 +3,7 @@ * Plugin Name: CAOS * Plugin URI: https://daan.dev/wordpress/caos/ * Description: Completely optimize Google Analytics 4 for your WordPress Website - host gtag.js locally or use Minimal Analytics and much more! - * Version: 4.8.3 + * Version: 4.8.4 * Author: Daan from Daan.dev * Author URI: https://daan.dev/ * License: GPL2v2 or later @@ -28,7 +28,7 @@ function caos_autoload( $class ) { $path = explode( '_', $class ); - if ( $path[ 0 ] != 'CAOS' ) { + if ( $path[0] != 'CAOS' ) { return; } diff --git a/readme.txt b/readme.txt index 857993d..9bbe896 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: DaanvandenBergh Tags: analytics, host, locally, gtag, woocommerce, gdpr, cookie notice, leverage browser cache, minimize external requests Requires at least: 4.6 Tested up to: 6.7 -Stable tag: 4.8.3 +Stable tag: 4.8.4 Requires PHP: 7.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -76,6 +76,9 @@ N/A == Changelog == += 4.8.4 = +* Fixed: Cloudflare compatibility would case JS syntax error when the Asynchronous script was used. + = 4.8.3 = * Added: Cloudflare and WP Fastest Cache compatibility for Minimal Analytics tracking code. * Tested with WP 6.7.