From 2d52af8dc387cfa72207c7df3cba0ed103e2cfcf Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Thu, 31 May 2018 09:13:03 +0200 Subject: [PATCH 1/2] Update changelog, ReadMe and PHPdoc for 1.6.3 --- CHANGELOG.md | 5 +++++ inc/class-statify-frontend.php | 8 ++++---- readme.txt | 12 ++++++++++++ statify.php | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3ed256..b533d1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 1.6.3 +* Fix compatibility issue with some PHP implementations not populating `INPUT_SERVER` +* Fix failing blacklist check for empty referrers +* JS snippet call properly breaks page generation when tracking is skipped + ## 1.6.2 * Fix compatibility issues with JavaScript optimization plugins * Fix tracking issue if JavaScript tracking is disabled diff --git a/inc/class-statify-frontend.php b/inc/class-statify-frontend.php index cf0fe64..46a3603 100644 --- a/inc/class-statify-frontend.php +++ b/inc/class-statify-frontend.php @@ -140,7 +140,7 @@ private static function strposa( $haystack, array $needle, $offset = 0 ) { * Rules to skip the tracking * * @since 1.2.6 - * @version 2016-12-21 + * @version 1.6.3 * * @hook boolean statify__skip_tracking * @see https://wordpress.org/plugins/statify/ @@ -178,7 +178,7 @@ private static function _skip_tracking() { /** * Rules to detect internal calls to skip tracking and not print code snippet. * - * @since 1.7.0 + * @since 1.6.1 * * @return boolean $skip_hook TRUE if NO tracking is desired */ @@ -190,8 +190,8 @@ private static function _is_internal() { * Compare the referrer url to the blacklist data. * De/activate this feature via settings in the Dashboard widget. * - * @since 2016-12-21 - * @version 2017-01-10 + * @since 1.5.0 + * @version 1.6.3 * * @return boolean TRUE of referrer matches blacklist entry and should thus be excluded. */ diff --git a/readme.txt b/readme.txt index f94ec57..98c1ded 100644 --- a/readme.txt +++ b/readme.txt @@ -115,6 +115,11 @@ has to be added to the theme's `functions.php`. The condition has modified such ## Changelog ## You can find the full changelog in [our GitHub repository](https://github.com/pluginkollektiv/statify/blob/master/CHANGELOG.md). +### 1.6.3 +* Fix compatibility issue with some PHP implementations not populating `INPUT_SERVER` +* Fix failing blacklist check for empty referrers +* JS snippet call properly breaks page generation when tracking is skipped + ### 1.6.2 * Fix compatibility issues with JavaScript optimization plugins * Fix tracking issue if JavaScript tracking is disabled @@ -138,6 +143,13 @@ For the complete changelog, check out our [GitHub repository](https://github.com ## Upgrade Notice ## +### 1.6.3 ### +This bugfix release is recommended for all users. +It fixes completely broken tracking with some PHP implementations. Sorry for that, we might owe you a couple of visitors. + +### 1.6.2 ### +This bugfix release is recommended for all users. + ### 1.6.1 ### This bugfix release is recommended for all users. diff --git a/statify.php b/statify.php index a66294a..bfc93c5 100644 --- a/statify.php +++ b/statify.php @@ -7,7 +7,7 @@ * Author URI: https://pluginkollektiv.org * Plugin URI: https://wordpress.org/plugins/statify/ * License: GPLv3 or later - * Version: 1.6.2 + * Version: 1.6.3 * * @package WordPress */ From 86410de3e06e3b2929aceb686065dc28d2ff39df Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Thu, 31 May 2018 09:19:07 +0200 Subject: [PATCH 2/2] Update stable tag to 1.6.3 --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 98c1ded..c08bf24 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ * Requires at least: 4.7 * Tested up to: 4.9 * Requires PHP: 5.6 -* Stable tag: 1.6.2 +* Stable tag: 1.6.3 * License: GPLv3 or later * License URI: https://www.gnu.org/licenses/gpl-3.0.html