Google Analytics Opt-Out - Version 2.1.1

Version Description

  • Fixed an issue with Monster Insights 7: Submenu item was not visible
Download this release

Release Info

Developer wp-buddy
Plugin Icon 128x128 Google Analytics Opt-Out
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1.0 to 2.1.1

google-analytics-opt-out.php CHANGED
@@ -3,14 +3,14 @@
3
  Plugin Name: Google Analytics Opt-Out
4
  Plugin URI: https://wp-buddy.com/products/plugins/google-analytics-opt-out
5
  Description: Provides an Opt-Out functionality for Google Analytics
6
- Version: 2.1.0
7
  Author: WP-Buddy
8
  Author URI: https://wp-buddy.com
9
  License: GPL2
10
  Text Domain: google-analytics-opt-out
11
  Domain Path: /languages/
12
 
13
- Copyright 2017 WP-Buddy (email : info@wp-buddy.com)
14
 
15
  This program is free software; you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License, version 2, as
3
  Plugin Name: Google Analytics Opt-Out
4
  Plugin URI: https://wp-buddy.com/products/plugins/google-analytics-opt-out
5
  Description: Provides an Opt-Out functionality for Google Analytics
6
+ Version: 2.1.1
7
  Author: WP-Buddy
8
  Author URI: https://wp-buddy.com
9
  License: GPL2
10
  Text Domain: google-analytics-opt-out
11
  Domain Path: /languages/
12
 
13
+ Copyright 2018 WP-Buddy (email : info@wp-buddy.com)
14
 
15
  This program is free software; you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License, version 2, as
inc/settings.php CHANGED
@@ -11,7 +11,7 @@ function gaoop_admin_menu() {
11
  $hook = add_submenu_page( 'options-general.php', __( 'Analytics Opt-Out', 'google-analytics-opt-out' ), __( 'Analytics Opt-Out', 'google-analytics-opt-out' ), 'manage_options', 'gaoo-options', 'gaoop_settings_page' );
12
  add_action( "load-$hook", 'gaoop_settings_scripts' );
13
 
14
- $hook = add_submenu_page( 'monsterinsights_dashboard', __( 'Analytics Opt-Out', 'google-analytics-opt-out' ), __( 'Opt-Out Settings', 'google-analytics-opt-out' ), 'manage_options', 'gaoo-options', 'gaoop_settings_page' );
15
  add_action( "load-$hook", 'gaoop_settings_scripts' );
16
  }
17
 
@@ -31,7 +31,7 @@ function gaoop_settings_page() {
31
  <div id="icon-options-general" class="icon32"></div>
32
  <h2><?php _e( 'Google Analaytics Opt-Out Pro', 'google-analytics-opt-out' ); ?> </h2>
33
 
34
- <form action="options.php" method="post">
35
  <?php
36
  settings_fields( 'gaoop_options_page' );
37
  do_settings_sections( 'gaoop_options_page' );
11
  $hook = add_submenu_page( 'options-general.php', __( 'Analytics Opt-Out', 'google-analytics-opt-out' ), __( 'Analytics Opt-Out', 'google-analytics-opt-out' ), 'manage_options', 'gaoo-options', 'gaoop_settings_page' );
12
  add_action( "load-$hook", 'gaoop_settings_scripts' );
13
 
14
+ $hook = add_submenu_page( 'monsterinsights_settings', __( 'Analytics Opt-Out', 'google-analytics-opt-out' ), __( 'Opt-Out Settings', 'google-analytics-opt-out' ), 'manage_options', 'gaoo-options', 'gaoop_settings_page' );
15
  add_action( "load-$hook", 'gaoop_settings_scripts' );
16
  }
17
 
31
  <div id="icon-options-general" class="icon32"></div>
32
  <h2><?php _e( 'Google Analaytics Opt-Out Pro', 'google-analytics-opt-out' ); ?> </h2>
33
 
34
+ <form action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" method="post">
35
  <?php
36
  settings_fields( 'gaoop_options_page' );
37
  do_settings_sections( 'gaoop_options_page' );
languages/gaoo.pot CHANGED
@@ -2,14 +2,14 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Google Analytics Opt-Out\n"
5
- "POT-Creation-Date: 2016-12-02 09:43+0100\n"
6
  "PO-Revision-Date: 2013-11-12 09:04+0100\n"
7
  "Last-Translator: WP-Buddy <info@wp-buddy.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.11\n"
13
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
14
  "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
15
  "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
@@ -17,15 +17,7 @@ msgstr ""
17
  "X-Poedit-Basepath: .\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
- #: ../google-analytics-opt-out.php:36
21
- msgid "Google Analytics Opt-Out Pro"
22
- msgstr ""
23
-
24
- #: ../google-analytics-opt-out.php:37
25
- msgid "Provides an Opt-Out functionality for Google Analytics"
26
- msgstr ""
27
-
28
- #: ../google-analytics-opt-out.php:44
29
  #, php-format
30
  msgid ""
31
  "You are using PHP in version %s. This version is outdated and cannot be used "
@@ -34,108 +26,112 @@ msgid ""
34
  "this."
35
  msgstr ""
36
 
37
- #: ../google-analytics-opt-out.php:61
38
  msgid ""
39
  "It seems that the free version of the Google Analytics Opt-Out is installed. "
40
  "Please deactivate the free version before activating the pro version. "
41
  "Thanks! "
42
  msgstr ""
43
 
44
- #: ../google-analytics-opt-out.php:61
45
  msgid "&larr; Go back"
46
  msgstr ""
47
 
48
- #: ../inc/admin.php:11
49
  msgid ""
50
  "To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
51
  "settings page."
52
  msgstr ""
53
 
54
- #: ../inc/admin.php:30
55
  msgid "Settings"
56
  msgstr ""
57
 
58
- #: ../inc/admin.php:31
59
  msgid "More by WP-Buddy"
60
  msgstr ""
61
 
62
- #: ../inc/frontend.php:19
63
  msgid "Google Analytics Opt-Out Information"
64
  msgstr ""
65
 
66
- #: ../inc/frontend.php:19
67
  msgid "Close"
68
  msgstr ""
69
 
70
- #: ../inc/frontend.php:21
71
  msgid "Close this and do not ask me again"
72
  msgstr ""
73
 
74
- #: ../inc/frontend.php:37
75
  msgid ""
76
  "This website is using Google Analytics. Please click here if you want to opt-"
77
  "out."
78
  msgstr ""
79
 
80
- #: ../inc/frontend.php:41
81
  msgid "Click here to opt-out."
82
  msgstr ""
83
 
84
- #: ../inc/functions.php:96 ../inc/settings.php:200
85
  msgid ""
86
  "Thanks. We have set a cookie so that Google Analytics data collection will "
87
  "be disabled on your next visit."
88
  msgstr ""
89
 
90
- #: ../inc/settings.php:10 ../inc/settings.php:13 ../inc/settings.php:63
91
  msgid "Analytics Opt-Out"
92
  msgstr ""
93
 
94
- #: ../inc/settings.php:13
95
  msgid "Opt-Out Settings"
96
  msgstr ""
97
 
98
- #: ../inc/settings.php:30
99
  msgid "Google Analaytics Opt-Out Pro"
100
  msgstr ""
101
 
102
- #: ../inc/settings.php:65
103
  msgid "Use Monster Insights Settings"
104
  msgstr ""
105
 
106
- #: ../inc/settings.php:68
107
  msgid "UA-Code"
108
  msgstr ""
109
 
110
- #: ../inc/settings.php:71
 
 
 
 
111
  msgid "Use Banner"
112
  msgstr ""
113
 
114
- #: ../inc/settings.php:74
115
  msgid "Opt-Out Banner-Text"
116
  msgstr ""
117
 
118
- #: ../inc/settings.php:77
119
  msgid "Integrate Shortcode"
120
  msgstr ""
121
 
122
- #: ../inc/settings.php:80
123
  msgid "Opt-Out Successful"
124
  msgstr ""
125
 
126
- #: ../inc/settings.php:83
127
  msgid "Hide banner after closing"
128
  msgstr ""
129
 
130
- #: ../inc/settings.php:86
131
  msgid "Custom CSS"
132
  msgstr ""
133
 
134
- #: ../inc/settings.php:119
135
  msgid "Monster Insights Plugin has been detected."
136
  msgstr ""
137
 
138
- #: ../inc/settings.php:121
139
  msgid ""
140
  "Monster Insights Plugin has NOT been detected. Please enter your UA code "
141
  "manually and then check the sourcode of your website. Make sure that "
@@ -143,28 +139,28 @@ msgid ""
143
  "Google Analytics Opt-Out</code>)."
144
  msgstr ""
145
 
146
- #: ../inc/settings.php:177
147
  msgid "Please integrate the shortcode so that the user can opt-out."
148
  msgstr ""
149
 
150
- #: ../inc/settings.php:190
151
  msgid "If the shortcode was not detected, it will be added automatically."
152
  msgstr ""
153
 
154
- #: ../inc/settings.php:212
155
  msgid ""
156
  "This will hide the opt-out box after the user has clicked the close-button. "
157
  "Otherwise a little info-button will be fixed to the bottom-right."
158
  msgstr ""
159
 
160
- #: ../inc/shortcodes.php:51
161
  msgid "Click here to opt out."
162
  msgstr ""
163
 
164
- #: ../inc/shortcodes.php:57
165
  msgid "No UA-Code has been entered. Please ask the admin to solve this issue!"
166
  msgstr ""
167
 
168
- #: ../inc/shortcodes.php:77
169
  msgid "OK"
170
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Google Analytics Opt-Out\n"
5
+ "POT-Creation-Date: 2018-01-25 10:57+0700\n"
6
  "PO-Revision-Date: 2013-11-12 09:04+0100\n"
7
  "Last-Translator: WP-Buddy <info@wp-buddy.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.5\n"
13
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
14
  "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
15
  "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
17
  "X-Poedit-Basepath: .\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../google-analytics-opt-out.php:46
 
 
 
 
 
 
 
 
21
  #, php-format
22
  msgid ""
23
  "You are using PHP in version %s. This version is outdated and cannot be used "
26
  "this."
27
  msgstr ""
28
 
29
+ #: ../google-analytics-opt-out.php:64
30
  msgid ""
31
  "It seems that the free version of the Google Analytics Opt-Out is installed. "
32
  "Please deactivate the free version before activating the pro version. "
33
  "Thanks! "
34
  msgstr ""
35
 
36
+ #: ../google-analytics-opt-out.php:64
37
  msgid "&larr; Go back"
38
  msgstr ""
39
 
40
+ #: ../inc/admin.php:12
41
  msgid ""
42
  "To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
43
  "settings page."
44
  msgstr ""
45
 
46
+ #: ../inc/admin.php:32
47
  msgid "Settings"
48
  msgstr ""
49
 
50
+ #: ../inc/admin.php:33
51
  msgid "More by WP-Buddy"
52
  msgstr ""
53
 
54
+ #: ../inc/frontend.php:20
55
  msgid "Google Analytics Opt-Out Information"
56
  msgstr ""
57
 
58
+ #: ../inc/frontend.php:20
59
  msgid "Close"
60
  msgstr ""
61
 
62
+ #: ../inc/frontend.php:22
63
  msgid "Close this and do not ask me again"
64
  msgstr ""
65
 
66
+ #: ../inc/frontend.php:39
67
  msgid ""
68
  "This website is using Google Analytics. Please click here if you want to opt-"
69
  "out."
70
  msgstr ""
71
 
72
+ #: ../inc/frontend.php:43
73
  msgid "Click here to opt-out."
74
  msgstr ""
75
 
76
+ #: ../inc/functions.php:113 ../inc/settings.php:224
77
  msgid ""
78
  "Thanks. We have set a cookie so that Google Analytics data collection will "
79
  "be disabled on your next visit."
80
  msgstr ""
81
 
82
+ #: ../inc/settings.php:11 ../inc/settings.php:14 ../inc/settings.php:66
83
  msgid "Analytics Opt-Out"
84
  msgstr ""
85
 
86
+ #: ../inc/settings.php:14
87
  msgid "Opt-Out Settings"
88
  msgstr ""
89
 
90
+ #: ../inc/settings.php:32
91
  msgid "Google Analaytics Opt-Out Pro"
92
  msgstr ""
93
 
94
+ #: ../inc/settings.php:68
95
  msgid "Use Monster Insights Settings"
96
  msgstr ""
97
 
98
+ #: ../inc/settings.php:71
99
  msgid "UA-Code"
100
  msgstr ""
101
 
102
+ #: ../inc/settings.php:74
103
+ msgid "Show Editor button"
104
+ msgstr ""
105
+
106
+ #: ../inc/settings.php:77
107
  msgid "Use Banner"
108
  msgstr ""
109
 
110
+ #: ../inc/settings.php:80
111
  msgid "Opt-Out Banner-Text"
112
  msgstr ""
113
 
114
+ #: ../inc/settings.php:83
115
  msgid "Integrate Shortcode"
116
  msgstr ""
117
 
118
+ #: ../inc/settings.php:86
119
  msgid "Opt-Out Successful"
120
  msgstr ""
121
 
122
+ #: ../inc/settings.php:89
123
  msgid "Hide banner after closing"
124
  msgstr ""
125
 
126
+ #: ../inc/settings.php:92
127
  msgid "Custom CSS"
128
  msgstr ""
129
 
130
+ #: ../inc/settings.php:125
131
  msgid "Monster Insights Plugin has been detected."
132
  msgstr ""
133
 
134
+ #: ../inc/settings.php:127
135
  msgid ""
136
  "Monster Insights Plugin has NOT been detected. Please enter your UA code "
137
  "manually and then check the sourcode of your website. Make sure that "
139
  "Google Analytics Opt-Out</code>)."
140
  msgstr ""
141
 
142
+ #: ../inc/settings.php:199
143
  msgid "Please integrate the shortcode so that the user can opt-out."
144
  msgstr ""
145
 
146
+ #: ../inc/settings.php:213
147
  msgid "If the shortcode was not detected, it will be added automatically."
148
  msgstr ""
149
 
150
+ #: ../inc/settings.php:237
151
  msgid ""
152
  "This will hide the opt-out box after the user has clicked the close-button. "
153
  "Otherwise a little info-button will be fixed to the bottom-right."
154
  msgstr ""
155
 
156
+ #: ../inc/shortcodes.php:54
157
  msgid "Click here to opt out."
158
  msgstr ""
159
 
160
+ #: ../inc/shortcodes.php:60
161
  msgid "No UA-Code has been entered. Please ask the admin to solve this issue!"
162
  msgstr ""
163
 
164
+ #: ../inc/shortcodes.php:81
165
  msgid "OK"
166
  msgstr ""
readme.txt CHANGED
@@ -2,11 +2,11 @@
2
  Contributors: wp-buddy, floriansimeth
3
  Donate link: https://wp-buddy.com/products/plugins/google-analytics-opt-out/
4
  Tags: google analytics, analytics, analytics opt-out, analytics opt out, monster insights, monster insight, yoast analytics
5
- Version: 2.1.0
6
  Requires at least: 3.7
7
- Stable tag: 2.1.0
8
  Requires PHP: 5.6.0
9
- Tested up to: 4.9
10
  License: GPLv2
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -40,6 +40,12 @@ The free and the pro version have now been merged together. So you now can have
40
 
41
  == Changelog ==
42
 
 
 
 
 
 
 
43
  = 2.0.2 =
44
  * Make plugin compatible with the latest version of MonsterInsights.
45
  * Remove/deprecate all functions that have been used when the old Yoast Analytics plugin was active.
2
  Contributors: wp-buddy, floriansimeth
3
  Donate link: https://wp-buddy.com/products/plugins/google-analytics-opt-out/
4
  Tags: google analytics, analytics, analytics opt-out, analytics opt out, monster insights, monster insight, yoast analytics
5
+ Version: 2.1.1
6
  Requires at least: 3.7
7
+ Stable tag: 2.1.1
8
  Requires PHP: 5.6.0
9
+ Tested up to: 4.9.4
10
  License: GPLv2
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
40
 
41
  == Changelog ==
42
 
43
+ = 2.1.1 =
44
+ * Fixed an issue with Monster Insights 7: Submenu item was not visible
45
+
46
+ = 2.1.0 =
47
+ * Allow to disable the editor button as some users reported issues with loading the editor properly
48
+
49
  = 2.0.2 =
50
  * Make plugin compatible with the latest version of MonsterInsights.
51
  * Remove/deprecate all functions that have been used when the old Yoast Analytics plugin was active.