From ad36876ed34ed557e95762a5350dc8c08f0cc998 Mon Sep 17 00:00:00 2001 From: Dan0sz <18595395+Dan0sz@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:56:35 +0100 Subject: [PATCH] v4.8.4 --- host-analyticsjs-local.php | 4 ++-- readme.txt | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) 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.