*** a3 Google Analytics Changelog *** = 1.4.4 - 2023/11/22 = * Framework - Set parameter number of preg_match function from null to 0 for compatibility with PHP 8.1 onwards * Framework - Validate empty before call trim for option value = 1.4.3 - 2022/04/04 = * This security hardening release follows a full PHPCS code audit with code refactoring and security hardening including additional escaping and sanitizing. * Security - Escape all $-variable * Security - Sanitize all $_REQUEST, $_GET, $_POST * Security - Apply wp_unslash before sanitizing = 1.4.2 - 2022/01/24 = * This is a maintenance release for compatibility with WordPress major version 5.9 and Responsi 8.3.1 * Tweak - Test for compatibility with WordPress 5.9 * Tweak - Test for compatibility with Responsi 8.3.1 = 1.4.1 - 2021/07/19 = * This maintenance release is for compatibility with WordPress major version 5.8 * Tweak - Test for compatibility with WordPress 5.8 * Tweak - Add Update URI to plugin header with unique name = 1.4.0 - 2021/03/17 * This maintenance release updates deprecated jQuery functions for compatibility with the latest version of jQuery in WordPress 5.7 * Tweak – Replace deprecated .change( handler ) with .on( 'change', handler ) * Tweak – Replace deprecated .change() with .trigger('change') * Tweak – Replace deprecated .focus( handler ) with .on( 'focus', handler ) * Tweak – Replace deprecated .focus() with .trigger('focus') * Tweak – Replace deprecated .click( handler ) with .on( 'click', handler ) * Tweak – Replace deprecated .click() with .trigger('click') * Tweak – Replace deprecated .select( handler ) with .on( 'select', handler ) * Tweak – Replace deprecated .select() with .trigger('select') * Tweak – Replace deprecated .blur( handler ) with .on( 'blur', handler ) * Tweak – Replace deprecated .blur() with .trigger('blur') * Tweak – Replace deprecated .resize( handler ) with .on( 'resize', handler ) * Tweak – Replace deprecated .submit( handler ) with .on( 'submit', handler ) * Tweak – Replace deprecated .scroll( handler ) with .on( 'scroll', handler ) * Tweak – Replace deprecated .mousedown( handler ) with .on( 'mousedown', handler ) * Tweak – Replace deprecated .mouseover( handler ) with .on( 'mouseover', handler ) * Tweak – Replace deprecated .mouseout( handler ) with .on( 'mouseout', handler ) * Tweak – Replace deprecated .keydown( handler ) with .on( 'keydown', handler ) * Tweak – Replace deprecated .attr('disabled', 'disabled') with .prop('disabled', true) * Tweak – Replace deprecated .removeAttr('disabled') with .prop('disabled', false) * Tweak – Replace deprecated .attr('selected', 'selected') with .prop('selected', true) * Tweak – Replace deprecated .removeAttr('selected') with .prop('selected', false) * Tweak – Replace deprecated .attr('checked', 'checked') with .prop('checked', true) * Tweak – Replace deprecated .removeAttr('checked') with .prop('checked', false) = 1.3.9 - 2021/03/10 = * This maintenance release is for compatibility with WordPress 5.7 * Tweak - Test for compatibility with WordPress 5.7 = 1.3.8 - 2020/01/31 = * This is an important maintenance release that updates our scripts for compatibility with the latest version of jQuery released in WordPress 5.6 * Tweak - Update JavaScript on plugin for work compatibility with latest version of jQuery * Fix - Replace .bind( event, handler ) by .on( event, handler ) for compatibility with latest version of jQuery * Fix - Replace :eq() Selector by .eq() for compatibility with latest version of jQuery * Fix - Replace .error() by .on( “error” ) for compatibility with latest version of jQuery * Fix - Replace :first Selector by .first() for compatibility with latest version of jQuery * Fix - Replace :gt(0) Selector by .slice(1) for compatibility with latest version of jQuery * Fix - Remove jQuery.browser for compatibility with latest version of jQuery * Fix - Replace jQuery.isArray() by Array.isArray() for compatibility with latest version of jQuery * Fix - Replace jQuery.isFunction(x) by typeof x === “function” for compatibility with latest version of jQuery * Fix - Replace jQuery.isNumeric(x) by typeof x === “number” for compatibility with latest version of jQuery * Fix - Replace jQuery.now() by Date.now() for compatibility with latest version of jQuery * Fix - Replace jQuery.parseJSON() by JSON.parse() for compatibility with latest version of jQuery * Fix - Remove jQuery.support for compatibility with latest version of jQuery * Fix - Replace jQuery.trim(x) by x.trim() for compatibility with latest version of jQuery * Fix - Replace jQuery.type(x) by typeof x for compatibility with latest version of jQuery * Fix - Replace .load( handler ) by .on( “load”, handler ) for compatibility with latest version of jQuery * Fix - Replace .size() by .length for compatibility with latest version of jQuery * Fix - Replace .unbind( event ) by .off( event ) for compatibility with latest version of jQuery * Fix - Replace .unload( handler ) by .on( “unload”, handler ) for compatibility with latest version of jQuery = 1.3.7 - 2020/12/08 = * This maintenance release has tweaks for compatibility with WordPress major version 5.6 and PHP 7.4.8 * Tweak - Test for compatibility with PHP 7.4.8 * Tweak - Test for compatibility with WordPress 5.6 = 1.3.6 - 2020/08/12 = * This maintenance release adds a fix for loading individual post and page stats * Fix - Update operator and expressions filters data for current posts and pages = 1.3.5 - 2020/08/08 = * This maintenance release is for compatibility with WordPress major version 5.5. * Tweak - Test for compatibility with WordPress 5.5 * Fix - Fixed Uncaught TypeError: google.visualization.GeoChart = 1.3.4 - 2020/04/08 = * This maintenance release trims the size of the plugin zip, adds compatibility with PHP 7.0 and a tweak on the settings options panel. * Tweak - Trim the Google API Library for smaller load size * Tweak - Monolog lib to work with PHP 7.0 * Tweak - Set Options box on Settings to show as open when authenicate and connect to Google Analytics account = 1.3.3 - 2020/04/02 = * This maintenance release is for compatibility with WordPress major version 5.4, PHP 7.4 with 3 PHP code fixes * Tweak - Plugin Framework fully refactored to Composer for cleaner code and faster PHP code on admin panels * Tweak - Update plugin for compatibility with new version of plugin Framework * Tweak - Configure and run Travis CI unit test builds on the frameworks github repo. * Tweak - Test for compatibility with WordPress 5.4 * Fix - Update global ${$this- to $GLOBALS[$this to resolve 7.0+ PHP warnings * Fix - Update global ${$option to $GLOBALS[$option to resolve 7.0+ PHP warnings * Fix - Update less PHP lib that use square brackets [] instead of curly braces {} for Array, depreciated in PHP 7.4 = 1.3.2 - 2020/03/25 = * This maintenance release fixes a stdClass fatal error from yesterdays 1.3.1 upgrade * Fix - Access token parameter form object to json to prevent Uncaught Error: Cannot use object of type stdClass as array = 1.3.1 - 2020/03/24 = * This maintenance release upgrades and migrates Google Analytics Client & Report API to the latest versions. Plus, compatibility with WordPress 5.4 and PHP 7.0 to 7.4 * Tweak - Run Travis CI unit build tests for PHP compatibility issues with PHP 7.0 to 7.4 * Tweak - Test for compatibility with WordPress version 5.4.0 * Tweak - Re verify the a3 Google Analytics app with Google (in progress) * Fix - Migrate Google Analytics Client API from depreciated v 2.4 to current v 3.0 * Fix - Update global ${$this- to $GLOBALS[$this to resolve 7.0+ PHP warnings * Fix - Update global ${$option to $GLOBALS[$option to resolve 7.0+ PHP warnings * Fix - Update less PHP lib that use square brackets [] instead of curly braces {} for Array , depreciated in PHP 7.4 * Fix - Validate for not use get_magic_quotes_gpc function for PHP 7.4 = 1.3.0 - 2020/01/02 = * This feature release is a major refactor of the PHP code to Composer Dependency Manager, a security review and hardening, compatibility with WordPress 5.3.2, WooCommerce 3.8.1 and Responsi 7.7.0 * Feature - Plugin fully refactored to Composer for cleaner and faster PHP code * Tweak - Tested for compatibility with WordPress version 5.3.2 * Tweak - Tested for compatibility with Responsi version 7.7.0 * Dev - Ensure that all inputs are sanitized and all outputs are escaped = 1.2.7 - 2019/09/03 = * This upgrade is for compatibility with Responsi Framework 7.6.0 * Refactor – Rewrite frontend HTML, CSS, JS and Variables Class and ID names to the new framework 7.6.0 namespaces * Refactor – Rewrite customizer HTML, CSS, JS and Variables Class and ID names to the new framework 7.6.0 namespaces * Refactor - HTML, CSS, JS and Variables Class and ID names called from the framework making plugin file sizes smaller and faster to load = 1.2.6 - 2019/07/25 = * This upgrade is for compatibility with Responsi Framework 7.5.0 * Refactor - All plugin CSS and JS from Class ID to Class name for new Responsi Class names. = 1.2.5 - 2019/01/07 = * This maintenance update is for compatibility with WordPress 5.0.2, WooCommerce 3.5.3 and PHP 7.3. It also includes performance updates to the plugin framework. * Tweak - Test for compatibility with WordPress 5.0.2 and WordPress 4.9.9 * Tweak - Test for compatibility with WooCommerce 3.5.3 * Tweak - Create new structure for future development of Gutenberg Blocks * Framework - Performance improvement. Replace wp_remote_fopen with file_get_contents for get web fonts * Framework - Performance improvement. Define new variable `is_load_google_fonts` if admin does not require to load google fonts * Credit - Props to Derek for alerting us to the framework google fonts performance issue * Framework - Register style name for dynamic style of plugin for use with Gutenberg block * Framework - Update Modal script and style to version 4.1.1 * Framework - Update a3rev Plugin Framework to version 2.1.0 * Framework - Test and update for compatibility with PHP 7.3 = 1.2.4 - 2018/12/07 = * This maintenance update is for compatibility with WordPress Major version 5.0 * Tweak - Tested for compatibility with Framework v 7.1.0 * Tweak - Tested for compatibility with WordPress 5.0 * Fix - PHP 7.2.0 notice warning = 1.2.3 - 2018/10/06 = * This Maintenance update has 2 bug fixes for when authenticating with Google Analytics * Fix - Google Analytics API requests being blocked when attempting to authorize * Fix - Not able to find Gtags warning when run Tag Assistant tests = 1.2.2 - 2018/05/28 = * This maintenance update is for compatibility with WordPress 4.9.6 and the new GDPR compliance requirements for users in the EU * Tweak - GDPR: Added privacy snippet which works with the new privacy page functionality in WordPress 4.9.6 * Tweak - Tested for compatibility with WordPress 4.9.6 = 1.2.1 - 2018/03/15 = * Maintenance Update. This update follows a full security review and extensive security hardening * Tweak - Sanitized all database inputs and escaped functions = 1.2.0 - 2018/02/13 = * Feature Upgrade - This upgrade features full integration with newly launched a3rev Dashboard plus compatibility with WordPress 4.9.4 * Framework - Update a3rev Plugin Framework to version 2.0.2 * Framework - Add Framework version for all style and script files * Framework - Update Check Now feature for compatibility with a3rev Dashboard 2.3.0 * Tweak - Test for compatibility with WordPress 4.9.4 = 1.1.0 - 2017/10/27 = * Feature Upgrade - Extends support for 30 day visitor statistics from just WP Posts, to now support WP Pages and all custom post types (example WooCommerce Product pages). * Feature - Added option to show 30 Statistics widgets on WP Pages and all Custom post types - previously only supported for WP Posts * Tweak - Added + Post & Page Statistics Widgets Option box on the settings menu * Tweak - Only show new options box after successfully connect site to Google Analytics account * Tweak - Edit page Screen Options box selection support for all activated page and post types = 1.0.1 - 2017/10/13 = * Tweak - Removed support for the depreciated ‘Classic’ Google Analytics tracking code ga.js * Tweak - Added support for Global site tag Google Analytics tracking code gtag.js = 1.0.0 - 2017/09/20 = * First Release * Integrated into a3rev Dashboard