GA Google Analytics - Version 20171103

Version Description

To upgrade GA Google Analytics, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.

Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database.

For more information, visit the GA Plugin Homepage.

Download this release

Release Info

Developer specialk
Plugin Icon 128x128 GA Google Analytics
Version 20171103
Comparing to
See all releases

Code changes from version 20171021 to 20171103

Files changed (2) hide show
  1. ga-google-analytics.php +3 -5
  2. readme.txt +7 -2
ga-google-analytics.php CHANGED
@@ -10,8 +10,8 @@
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
- Stable tag: 20171021
14
- Version: 20171021
15
Requires PHP: 5.2
16
Text Domain: gap
17
Domain Path: /languages
@@ -38,7 +38,7 @@
38
if (!defined('ABSPATH')) die();
39
40
$gap_wp_vers = '4.1';
41
- $gap_version = '20171021';
42
$gap_plugin = esc_html__('GA Google Analytics', 'gap');
43
$gap_options = get_option('gap_options');
44
$gap_path = plugin_basename(__FILE__); // 'ga-google-analytics/ga-google-analytics.php';
@@ -229,8 +229,6 @@ function gap_validate_options($input) {
229
230
global $gap_location;
231
232
- if (!current_user_can('manage_options')) wp_die(__('Sorry, you are not allowed to manage options for this site.', 'gap'));
233
-
234
$input['gap_id'] = wp_filter_nohtml_kses($input['gap_id']);
235
236
if (!isset($input['gap_location'])) $input['gap_location'] = null;
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
+ Stable tag: 20171103
14
+ Version: 20171103
15
Requires PHP: 5.2
16
Text Domain: gap
17
Domain Path: /languages
38
if (!defined('ABSPATH')) die();
39
40
$gap_wp_vers = '4.1';
41
+ $gap_version = '20171103';
42
$gap_plugin = esc_html__('GA Google Analytics', 'gap');
43
$gap_options = get_option('gap_options');
44
$gap_path = plugin_basename(__FILE__); // 'ga-google-analytics/ga-google-analytics.php';
229
230
global $gap_location;
231
232
$input['gap_id'] = wp_filter_nohtml_kses($input['gap_id']);
233
234
if (!isset($input['gap_location'])) $input['gap_location'] = null;
readme.txt CHANGED
@@ -10,8 +10,8 @@ Donate link: https://m0n.co/donate
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
- Stable tag: 20171021
14
- Version: 20171021
15
Requires PHP: 5.2
16
Text Domain: gap
17
Domain Path: /languages
@@ -181,6 +181,11 @@ Links, tweets and likes also appreciated. Thanks! :)
181
182
*Thank you to everyone who shares feedback for GA Google Analytics!*
183
184
**20171021**
185
186
* Adds setting to display Custom head code before or after the GA tracking code
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
+ Stable tag: 20171103
14
+ Version: 20171103
15
Requires PHP: 5.2
16
Text Domain: gap
17
Domain Path: /languages
181
182
*Thank you to everyone who shares feedback for GA Google Analytics!*
183
184
+ **20171103**
185
+
186
+ * Removes extra `manage_options` check for plugin settings
187
+ * Tests on WordPress 4.9
188
+
189
**20171021**
190
191
* Adds setting to display Custom head code before or after the GA tracking code