Version Description
- Fixed issue with mod_security
Download this release
Release Info
Developer | webkinder |
Plugin | Google Analytics |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.1
- lib/Loader.php +1 -1
- readme.txt +11 -5
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -4
- vendor/composer/autoload_static.php +4 -4
- wk-ga.php +2 -1
lib/Loader.php
CHANGED
@@ -72,7 +72,7 @@ class Loader
|
|
72 |
$TAG_MANAGER_ID = get_option('ga_tag_manager_id');
|
73 |
?>
|
74 |
<noscript>
|
75 |
-
<iframe src="
|
76 |
height="0" width="0" style="display:none;visibility:hidden"></iframe>
|
77 |
</noscript>
|
78 |
|
72 |
$TAG_MANAGER_ID = get_option('ga_tag_manager_id');
|
73 |
?>
|
74 |
<noscript>
|
75 |
+
<iframe src="https://www.googletagmanager.com/ns.html?id=<?php echo $TAG_MANAGER_ID; ?>"
|
76 |
height="0" width="0" style="display:none;visibility:hidden"></iframe>
|
77 |
</noscript>
|
78 |
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== Google Analytics ===
|
2 |
Contributors: webkinder
|
3 |
-
Tags: google analytics, tracking code, analytics, anonymization, cookie, Datenschutz, ga, gaoptout, google, googleanalytics, google tag manager, gtm
|
|
|
|
|
|
|
|
|
4 |
License: GPLv2 or later
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
-
Requires at least: 4.8
|
7 |
-
Requires PHP: 7.1
|
8 |
-
Tested up to: 5.3.2
|
9 |
-
Stable tag: 1.8.0
|
10 |
|
11 |
Google Analytics for WordPress without tracking your own visits.
|
12 |
|
@@ -20,6 +20,8 @@ We would love to hear your feedback in a [review](https://wordpress.org/support/
|
|
20 |
|
21 |
If you have any questions or feature requests, feel free to contact us via support@webkinder.ch.
|
22 |
|
|
|
|
|
23 |
== Installation ==
|
24 |
|
25 |
1. Upload the plugin files to the `/wp-content/plugins/wk-ga directory, or install the plugin through the WordPress plugins screen directly.
|
@@ -33,6 +35,10 @@ If you have any questions or feature requests, feel free to contact us via suppo
|
|
33 |
|
34 |
== Changelog ==
|
35 |
|
|
|
|
|
|
|
|
|
36 |
= 1.8.0 =
|
37 |
|
38 |
* Bugfix for caching plugins
|
1 |
=== Google Analytics ===
|
2 |
Contributors: webkinder
|
3 |
+
Tags: google analytics, tracking code, analytics, anonymization, anonymize, anonymizeIp, cookie, Datenschutz, ga, gaoptout, google, googleanalytics, google tag manager, gtm, Datenschutz, datenschutzkonform, script, snippet
|
4 |
+
Requires at least: 5.0
|
5 |
+
Tested up to: 5.5.0
|
6 |
+
Requires PHP: 7.1
|
7 |
+
Stable tag: 1.8.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
|
|
|
|
|
10 |
|
11 |
Google Analytics for WordPress without tracking your own visits.
|
12 |
|
20 |
|
21 |
If you have any questions or feature requests, feel free to contact us via support@webkinder.ch.
|
22 |
|
23 |
+
This plugin is Open-Source. Pull requests can be opened in the GitHub Repository [here](https://github.com/webkinder/google-analytics).
|
24 |
+
|
25 |
== Installation ==
|
26 |
|
27 |
1. Upload the plugin files to the `/wp-content/plugins/wk-ga directory, or install the plugin through the WordPress plugins screen directly.
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 1.8.1 =
|
39 |
+
|
40 |
+
* Fixed issue with mod_security
|
41 |
+
|
42 |
= 1.8.0 =
|
43 |
|
44 |
* Bugfix for caching plugins
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit24ba2e9da0b160335a3f66655e2e7201::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -13,21 +13,24 @@ class ComposerAutoloaderInit451abd758d92408c5b51b7f4d715b91e
|
|
13 |
}
|
14 |
}
|
15 |
|
|
|
|
|
|
|
16 |
public static function getLoader()
|
17 |
{
|
18 |
if (null !== self::$loader) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit24ba2e9da0b160335a3f66655e2e7201
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
13 |
}
|
14 |
}
|
15 |
|
16 |
+
/**
|
17 |
+
* @return \Composer\Autoload\ClassLoader
|
18 |
+
*/
|
19 |
public static function getLoader()
|
20 |
{
|
21 |
if (null !== self::$loader) {
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit24ba2e9da0b160335a3f66655e2e7201', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit24ba2e9da0b160335a3f66655e2e7201', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit24ba2e9da0b160335a3f66655e2e7201::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
@@ -111,9 +111,9 @@ class ComposerStaticInit451abd758d92408c5b51b7f4d715b91e
|
|
111 |
public static function getInitializer(ClassLoader $loader)
|
112 |
{
|
113 |
return \Closure::bind(function () use ($loader) {
|
114 |
-
$loader->prefixLengthsPsr4 =
|
115 |
-
$loader->prefixDirsPsr4 =
|
116 |
-
$loader->classMap =
|
117 |
|
118 |
}, null, ClassLoader::class);
|
119 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit24ba2e9da0b160335a3f66655e2e7201
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
111 |
public static function getInitializer(ClassLoader $loader)
|
112 |
{
|
113 |
return \Closure::bind(function () use ($loader) {
|
114 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit24ba2e9da0b160335a3f66655e2e7201::$prefixLengthsPsr4;
|
115 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit24ba2e9da0b160335a3f66655e2e7201::$prefixDirsPsr4;
|
116 |
+
$loader->classMap = ComposerStaticInit24ba2e9da0b160335a3f66655e2e7201::$classMap;
|
117 |
|
118 |
}, null, ClassLoader::class);
|
119 |
}
|
wk-ga.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Google Analytics by WebKinder
|
4 |
* Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
|
5 |
* Description: Google Analytics for WordPress without tracking your own visits
|
6 |
-
* Version: 1.8.
|
7 |
* Author: WebKinder
|
8 |
* Author URI: https://www.webkinder.ch
|
9 |
* License: GPL2
|
@@ -12,6 +12,7 @@
|
|
12 |
* Text Domain: wk-google-analytics
|
13 |
*/
|
14 |
|
|
|
15 |
define('WK_GOOGLE_ANALYTICS_DIR', dirname(__FILE__));
|
16 |
|
17 |
$autoload = __DIR__ . '/vendor/autoload.php';
|
3 |
* Plugin Name: Google Analytics by WebKinder
|
4 |
* Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
|
5 |
* Description: Google Analytics for WordPress without tracking your own visits
|
6 |
+
* Version: 1.8.1
|
7 |
* Author: WebKinder
|
8 |
* Author URI: https://www.webkinder.ch
|
9 |
* License: GPL2
|
12 |
* Text Domain: wk-google-analytics
|
13 |
*/
|
14 |
|
15 |
+
|
16 |
define('WK_GOOGLE_ANALYTICS_DIR', dirname(__FILE__));
|
17 |
|
18 |
$autoload = __DIR__ . '/vendor/autoload.php';
|