@@ -34,21 +34,21 @@ discard block |
||
34 | 34 | $menu_icon_inline = monsterinsights_get_inline_menu_icon(); |
35 | 35 | |
36 | 36 | if ( $dashboards_disabled || ! $is_authed || ( current_user_can( 'monsterinsights_save_settings' ) && ! current_user_can( 'monsterinsights_view_dashboard' ) ) ) { |
37 | - // If dashboards disabled, first settings page |
|
38 | - add_menu_page( __( 'Settings:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page', $menu_icon_inline, '100.00013467543' ); |
|
39 | - $hook = 'monsterinsights_settings'; |
|
37 | + // If dashboards disabled, first settings page |
|
38 | + add_menu_page( __( 'Settings:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page', $menu_icon_inline, '100.00013467543' ); |
|
39 | + $hook = 'monsterinsights_settings'; |
|
40 | 40 | |
41 | - add_submenu_page( $hook, __( 'Settings:', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings' ); |
|
41 | + add_submenu_page( $hook, __( 'Settings:', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings' ); |
|
42 | 42 | } else { |
43 | - // if dashboards enabled, first dashboard |
|
44 | - add_menu_page( __( 'General:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page', $menu_icon_inline, '100.00013467543' ); |
|
43 | + // if dashboards enabled, first dashboard |
|
44 | + add_menu_page( __( 'General:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page', $menu_icon_inline, '100.00013467543' ); |
|
45 | 45 | |
46 | - $hook = 'monsterinsights_reports'; |
|
46 | + $hook = 'monsterinsights_reports'; |
|
47 | 47 | |
48 | - add_submenu_page( $hook, __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Reports', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page' ); |
|
48 | + add_submenu_page( $hook, __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Reports', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page' ); |
|
49 | 49 | |
50 | - // then settings page |
|
51 | - add_submenu_page( $hook, __( 'Settings:', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page' ); |
|
50 | + // then settings page |
|
51 | + add_submenu_page( $hook, __( 'Settings:', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page' ); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | // then tools |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | // then addons |
58 | 58 | $network_key = MonsterInsights()->license->get_network_license_key(); |
59 | 59 | if ( ! monsterinsights_is_network_active() || ( monsterinsights_is_network_active() && empty( $network_key ) ) ) { |
60 | - add_submenu_page( $hook, __( 'Addons:', 'google-analytics-for-wordpress' ), '<span style="color:#7cc048"> ' . __( 'Addons', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', 'monsterinsights_addons', 'monsterinsights_addons_page' ); |
|
60 | + add_submenu_page( $hook, __( 'Addons:', 'google-analytics-for-wordpress' ), '<span style="color:#7cc048"> ' . __( 'Addons', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', 'monsterinsights_addons', 'monsterinsights_addons_page' ); |
|
61 | 61 | } |
62 | 62 | } |
63 | 63 | add_action( 'admin_menu', 'monsterinsights_admin_menu' ); |
@@ -71,12 +71,12 @@ discard block |
||
71 | 71 | // First, let's see if this is an MS network enabled plugin. If it is, we should load the license |
72 | 72 | // menu page and the updater on the network panel |
73 | 73 | if ( ! function_exists( 'is_plugin_active_for_network' ) ) { |
74 | - require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); |
|
74 | + require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | $plugin = plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE ); |
78 | 78 | if ( ! is_plugin_active_for_network( $plugin ) ) { |
79 | - return; |
|
79 | + return; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | $menu_icon_inline = monsterinsights_get_inline_menu_icon(); |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | function monsterinsights_add_admin_body_class( $classes ) { |
102 | 102 | $screen = get_current_screen(); |
103 | 103 | if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) { |
104 | - return $classes; |
|
104 | + return $classes; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | return "$classes monsterinsights_page "; |
@@ -121,17 +121,17 @@ discard block |
||
121 | 121 | |
122 | 122 | // If lite, show a link where they can get pro from |
123 | 123 | if ( ! monsterinsights_is_pro_version() ) { |
124 | - $get_pro = '<a title="' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) .'" href="'. monsterinsights_get_upgrade_link( 'all-plugins', 'upgrade-link', "https://www.monsterinsights.com/docs/" ) .'">' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) . '</a>'; |
|
125 | - array_unshift( $links, $get_pro ); |
|
124 | + $get_pro = '<a title="' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) .'" href="'. monsterinsights_get_upgrade_link( 'all-plugins', 'upgrade-link', "https://www.monsterinsights.com/docs/" ) .'">' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) . '</a>'; |
|
125 | + array_unshift( $links, $get_pro ); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | // If Lite, support goes to forum. If pro, it goes to our website |
129 | 129 | if ( monsterinsights_is_pro_version() ) { |
130 | - $support = '<a title="MonsterInsights Pro Support" href="'. monsterinsights_get_url( 'all-plugins', 'pro-support-link', "https://www.monsterinsights.com/my-account/support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>'; |
|
131 | - array_unshift( $links, $support ); |
|
130 | + $support = '<a title="MonsterInsights Pro Support" href="'. monsterinsights_get_url( 'all-plugins', 'pro-support-link', "https://www.monsterinsights.com/my-account/support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>'; |
|
131 | + array_unshift( $links, $support ); |
|
132 | 132 | } else { |
133 | - $support = '<a title="MonsterInsights Lite Support" href="'. monsterinsights_get_url( 'all-plugins', 'lite-support-link', "https://www.monsterinsights.com/lite-support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>'; |
|
134 | - array_unshift( $links, $support ); |
|
133 | + $support = '<a title="MonsterInsights Lite Support" href="'. monsterinsights_get_url( 'all-plugins', 'lite-support-link', "https://www.monsterinsights.com/lite-support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>'; |
|
134 | + array_unshift( $links, $support ); |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | $settings_link = '<a href="' . esc_url( admin_url( 'admin.php?page=monsterinsights_settings' ) ) . '">' . esc_html__( 'Settings', 'google-analytics-for-wordpress' ) . '</a>'; |
@@ -156,26 +156,26 @@ discard block |
||
156 | 156 | function monsterinsights_load_admin_partial( $template, $data = array() ) { |
157 | 157 | |
158 | 158 | if ( monsterinsights_is_pro_version() ) { |
159 | - $dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'pro/includes/admin/partials' ); |
|
159 | + $dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'pro/includes/admin/partials' ); |
|
160 | 160 | |
161 | - if ( file_exists( $dir . $template . '.php' ) ) { |
|
162 | - require_once( $dir . $template . '.php' ); |
|
163 | - return true; |
|
164 | - } |
|
161 | + if ( file_exists( $dir . $template . '.php' ) ) { |
|
162 | + require_once( $dir . $template . '.php' ); |
|
163 | + return true; |
|
164 | + } |
|
165 | 165 | } else { |
166 | - $dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'lite/includes/admin/partials' ); |
|
166 | + $dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'lite/includes/admin/partials' ); |
|
167 | 167 | |
168 | - if ( file_exists( $dir . $template . '.php' ) ) { |
|
169 | - require_once( $dir . $template . '.php' ); |
|
170 | - return true; |
|
171 | - } |
|
168 | + if ( file_exists( $dir . $template . '.php' ) ) { |
|
169 | + require_once( $dir . $template . '.php' ); |
|
170 | + return true; |
|
171 | + } |
|
172 | 172 | } |
173 | 173 | |
174 | 174 | $dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'includes/admin/partials' ); |
175 | 175 | |
176 | 176 | if ( file_exists( $dir . $template . '.php' ) ) { |
177 | - require_once( $dir . $template . '.php' ); |
|
178 | - return true; |
|
177 | + require_once( $dir . $template . '.php' ); |
|
178 | + return true; |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | return false; |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | // Get the current screen, and check whether we're viewing a MonsterInsights screen; |
192 | 192 | $screen = get_current_screen(); |
193 | 193 | if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) { |
194 | - return; |
|
194 | + return; |
|
195 | 195 | } |
196 | 196 | if ( in_array( $screen->id, array( |
197 | 197 | 'insights_page_monsterinsights_settings', |
@@ -205,10 +205,10 @@ discard block |
||
205 | 205 | |
206 | 206 | // If here, we're on an MonsterInsights screen, so output the header. |
207 | 207 | monsterinsights_load_admin_partial( 'header', array( |
208 | - 'mascot' => plugins_url( 'assets/css/images/mascot.png', MonsterInsights()->file ), |
|
209 | - 'logo' => plugins_url( 'assets/css/images/logo.png', MonsterInsights()->file ), |
|
210 | - '2xmascot' => plugins_url( 'assets/css/images/[email protected]', MonsterInsights()->file ), |
|
211 | - '2xlogo' => plugins_url( 'assets/css/images/[email protected]', MonsterInsights()->file ), |
|
208 | + 'mascot' => plugins_url( 'assets/css/images/mascot.png', MonsterInsights()->file ), |
|
209 | + 'logo' => plugins_url( 'assets/css/images/logo.png', MonsterInsights()->file ), |
|
210 | + '2xmascot' => plugins_url( 'assets/css/images/[email protected]', MonsterInsights()->file ), |
|
211 | + '2xlogo' => plugins_url( 'assets/css/images/[email protected]', MonsterInsights()->file ), |
|
212 | 212 | ) ); |
213 | 213 | } |
214 | 214 | add_action( 'in_admin_header','monsterinsights_admin_header', 100 ); |
@@ -224,8 +224,8 @@ discard block |
||
224 | 224 | function monsterinsights_admin_footer( $text ) { |
225 | 225 | global $current_screen; |
226 | 226 | if ( ! empty( $current_screen->id ) && strpos( $current_screen->id, 'monsterinsights' ) !== false ) { |
227 | - $url = 'https://wordpress.org/support/view/plugin-reviews/google-analytics-for-wordpress?filter=5'; |
|
228 | - $text = sprintf( esc_html__( 'Please rate %sMonsterInsights%s %s on %sWordPress.org%s to help us spread the word. Thank you from the MonsterInsights team!', 'google-analytics-for-wordpress' ), '<strong>', '</strong>', '<a class="monsterinsights-no-text-decoration" href="' . $url . '" target="_blank" rel="noopener noreferrer"><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i></a>', '<a href="' . $url . '" target="_blank" rel="noopener noreferrer">', '</a>' ); |
|
227 | + $url = 'https://wordpress.org/support/view/plugin-reviews/google-analytics-for-wordpress?filter=5'; |
|
228 | + $text = sprintf( esc_html__( 'Please rate %sMonsterInsights%s %s on %sWordPress.org%s to help us spread the word. Thank you from the MonsterInsights team!', 'google-analytics-for-wordpress' ), '<strong>', '</strong>', '<a class="monsterinsights-no-text-decoration" href="' . $url . '" target="_blank" rel="noopener noreferrer"><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i></a>', '<a href="' . $url . '" target="_blank" rel="noopener noreferrer">', '</a>' ); |
|
229 | 229 | } |
230 | 230 | return $text; |
231 | 231 | } |
@@ -236,12 +236,12 @@ discard block |
||
236 | 236 | // Don't show on MonsterInsights pages |
237 | 237 | $screen = get_current_screen(); |
238 | 238 | if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) !== false ) { |
239 | - return; |
|
239 | + return; |
|
240 | 240 | } |
241 | 241 | |
242 | 242 | // Make sure they have the permissions to do something |
243 | 243 | if ( ! current_user_can( 'monsterinsights_save_settings' ) ) { |
244 | - return; |
|
244 | + return; |
|
245 | 245 | } |
246 | 246 | |
247 | 247 | // Priority: |
@@ -258,45 +258,45 @@ discard block |
||
258 | 258 | |
259 | 259 | // 1. Google Analytics not authenticated |
260 | 260 | if ( ! is_network_admin() && ! monsterinsights_get_ua() ) { |
261 | - $page = admin_url( 'admin.php?page=monsterinsights_settings' ); |
|
262 | - $message = sprintf( esc_html__( 'Please configure your %1$sGoogle Analytics settings%2$s!', 'google-analytics-for-wordpress' ),'<a href="' . $page . '">', '</a>' ); |
|
263 | - echo '<div class="error"><p>'. $message.'</p></div>'; |
|
264 | - return; |
|
261 | + $page = admin_url( 'admin.php?page=monsterinsights_settings' ); |
|
262 | + $message = sprintf( esc_html__( 'Please configure your %1$sGoogle Analytics settings%2$s!', 'google-analytics-for-wordpress' ),'<a href="' . $page . '">', '</a>' ); |
|
263 | + echo '<div class="error"><p>'. $message.'</p></div>'; |
|
264 | + return; |
|
265 | 265 | } |
266 | 266 | |
267 | 267 | // 2. License key not entered for pro |
268 | 268 | $key = monsterinsights_is_pro_version() ? MonsterInsights()->license->get_license_key() : ''; |
269 | 269 | if ( monsterinsights_is_pro_version() && empty( $key ) ) { |
270 | - $page = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' ); |
|
271 | - $message = sprintf( esc_html__( 'Warning: No valid license key has been entered for MonsterInsights. You are currently not getting updates, and are not able to view reports. %1$sPlease click here to enter your license key and begin receiving updates and reports.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. esc_url( $page ) . '">', '</a>' ); |
|
272 | - echo '<div class="error"><p>'. $message.'</p></div>'; |
|
273 | - return; |
|
270 | + $page = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' ); |
|
271 | + $message = sprintf( esc_html__( 'Warning: No valid license key has been entered for MonsterInsights. You are currently not getting updates, and are not able to view reports. %1$sPlease click here to enter your license key and begin receiving updates and reports.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. esc_url( $page ) . '">', '</a>' ); |
|
272 | + echo '<div class="error"><p>'. $message.'</p></div>'; |
|
273 | + return; |
|
274 | 274 | } |
275 | 275 | |
276 | 276 | // 3. License key not valid/okay for pro |
277 | 277 | if ( monsterinsights_is_pro_version() ) { |
278 | - $message = ''; |
|
279 | - if ( MonsterInsights()->license->get_site_license_key() ){ |
|
280 | - if ( MonsterInsights()->license->site_license_expired() ) { |
|
281 | - $message = sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' ); |
|
282 | - } else if ( MonsterInsights()->license->site_license_disabled() ) { |
|
283 | - $message = esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
284 | - } else if ( MonsterInsights()->license->site_license_invalid() ) { |
|
285 | - $message = esc_html__( 'Your license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
286 | - } |
|
287 | - } else if ( MonsterInsights()->license->get_network_license_key() ) { |
|
288 | - if ( MonsterInsights()->license->network_license_expired() ) { |
|
289 | - $message = sprintf( esc_html__( 'Your network license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' ); |
|
290 | - } else if ( MonsterInsights()->license->network_license_disabled() ) { |
|
291 | - $message = esc_html__( 'Your network license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
292 | - } else if ( MonsterInsights()->license->network_license_invalid() ) { |
|
293 | - $message = esc_html__( 'Your network license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
294 | - } |
|
295 | - } |
|
296 | - if ( ! empty( $message ) ) { |
|
297 | - echo '<div class="error"><p>'. $message.'</p></div>'; |
|
298 | - return; |
|
299 | - } |
|
278 | + $message = ''; |
|
279 | + if ( MonsterInsights()->license->get_site_license_key() ){ |
|
280 | + if ( MonsterInsights()->license->site_license_expired() ) { |
|
281 | + $message = sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' ); |
|
282 | + } else if ( MonsterInsights()->license->site_license_disabled() ) { |
|
283 | + $message = esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
284 | + } else if ( MonsterInsights()->license->site_license_invalid() ) { |
|
285 | + $message = esc_html__( 'Your license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
286 | + } |
|
287 | + } else if ( MonsterInsights()->license->get_network_license_key() ) { |
|
288 | + if ( MonsterInsights()->license->network_license_expired() ) { |
|
289 | + $message = sprintf( esc_html__( 'Your network license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' ); |
|
290 | + } else if ( MonsterInsights()->license->network_license_disabled() ) { |
|
291 | + $message = esc_html__( 'Your network license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
292 | + } else if ( MonsterInsights()->license->network_license_invalid() ) { |
|
293 | + $message = esc_html__( 'Your network license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' ); |
|
294 | + } |
|
295 | + } |
|
296 | + if ( ! empty( $message ) ) { |
|
297 | + echo '<div class="error"><p>'. $message.'</p></div>'; |
|
298 | + return; |
|
299 | + } |
|
300 | 300 | } |
301 | 301 | |
302 | 302 | // 4. Notices for PHP/WP version deprecations |
@@ -360,7 +360,7 @@ discard block |
||
360 | 360 | |
361 | 361 | $notices = get_option( 'monsterinsights_notices' ); |
362 | 362 | if ( ! is_array( $notices ) ) { |
363 | - $notices = array(); |
|
363 | + $notices = array(); |
|
364 | 364 | } |
365 | 365 | |
366 | 366 | // 6. Authenticate, not manual |
@@ -368,12 +368,12 @@ discard block |
||
368 | 368 | $url = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' ); |
369 | 369 | |
370 | 370 | if ( empty( $authed ) && ! isset( $notices['monsterinsights_auth_not_manual' ] ) ) { |
371 | - echo '<div class="notice notice-info is-dismissible monsterinsights-notice" data-notice="monsterinsights_auth_not_manual">'; |
|
372 | - echo '<p>'; |
|
373 | - echo sprintf( esc_html__( 'Important: You are currently using manual UA code output. We highly recommend %1$sauthenticating with MonsterInsights%2$s so that you can access our new reporting area and take advantage of new MonsterInsights features.', 'google-analytics-for-wordpress' ), '<a href="' . $url .'">', '</a>' ); |
|
374 | - echo '</p>'; |
|
375 | - echo '</div>'; |
|
376 | - return; |
|
371 | + echo '<div class="notice notice-info is-dismissible monsterinsights-notice" data-notice="monsterinsights_auth_not_manual">'; |
|
372 | + echo '<p>'; |
|
373 | + echo sprintf( esc_html__( 'Important: You are currently using manual UA code output. We highly recommend %1$sauthenticating with MonsterInsights%2$s so that you can access our new reporting area and take advantage of new MonsterInsights features.', 'google-analytics-for-wordpress' ), '<a href="' . $url .'">', '</a>' ); |
|
374 | + echo '</p>'; |
|
375 | + echo '</div>'; |
|
376 | + return; |
|
377 | 377 | } |
378 | 378 | |
379 | 379 | // 7. Automatic updates not configured |
@@ -393,64 +393,64 @@ discard block |
||
393 | 393 | |
394 | 394 | // 8. WooUpsell |
395 | 395 | if ( ! monsterinsights_is_pro_version() && class_exists( 'WooCommerce' ) ) { |
396 | - if ( ! isset( $notices['monsterinsights_woocommerce_tracking_available' ] ) ) { |
|
397 | - echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_woocommerce_tracking_available">'; |
|
398 | - echo '<div class="monsterinsights-wooedd-upsell-left">'; |
|
399 | - echo '<p><strong>'; |
|
400 | - echo esc_html( 'Enhanced Ecommerce Analytics for Your WooCommerce Store', 'google-analytics-for-wordpress' ); |
|
401 | - echo '</strong></p>'; |
|
402 | - echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
403 | - echo '<p>'; |
|
404 | - echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' ); |
|
405 | - echo '</p>'; |
|
406 | - echo '<p>'; |
|
407 | - echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' ); |
|
408 | - echo '</p>'; |
|
409 | - echo '<p>'; |
|
410 | - echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' ); |
|
411 | - echo '</p>'; |
|
412 | - echo '<p>'; |
|
413 | - echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' ); |
|
414 | - echo '</p>'; |
|
415 | - echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'woocommerce-upgrade' ) .'">', ' »</a>' ); |
|
416 | - echo '</p>'; |
|
417 | - echo '</div><div class="monsterinsights-wooedd-upsell-right">'; |
|
418 | - echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
419 | - echo '</div>'; |
|
420 | - echo '</div>'; |
|
421 | - return; |
|
422 | - } |
|
396 | + if ( ! isset( $notices['monsterinsights_woocommerce_tracking_available' ] ) ) { |
|
397 | + echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_woocommerce_tracking_available">'; |
|
398 | + echo '<div class="monsterinsights-wooedd-upsell-left">'; |
|
399 | + echo '<p><strong>'; |
|
400 | + echo esc_html( 'Enhanced Ecommerce Analytics for Your WooCommerce Store', 'google-analytics-for-wordpress' ); |
|
401 | + echo '</strong></p>'; |
|
402 | + echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
403 | + echo '<p>'; |
|
404 | + echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' ); |
|
405 | + echo '</p>'; |
|
406 | + echo '<p>'; |
|
407 | + echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' ); |
|
408 | + echo '</p>'; |
|
409 | + echo '<p>'; |
|
410 | + echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' ); |
|
411 | + echo '</p>'; |
|
412 | + echo '<p>'; |
|
413 | + echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' ); |
|
414 | + echo '</p>'; |
|
415 | + echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'woocommerce-upgrade' ) .'">', ' »</a>' ); |
|
416 | + echo '</p>'; |
|
417 | + echo '</div><div class="monsterinsights-wooedd-upsell-right">'; |
|
418 | + echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
419 | + echo '</div>'; |
|
420 | + echo '</div>'; |
|
421 | + return; |
|
422 | + } |
|
423 | 423 | } |
424 | 424 | |
425 | 425 | // 9. EDDUpsell |
426 | 426 | if ( ! monsterinsights_is_pro_version() && class_exists( 'Easy_Digital_Downloads' ) ) { |
427 | - if ( ! isset( $notices['monsterinsights_edd_tracking_available' ] ) ) { |
|
428 | - echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_edd_tracking_available">'; |
|
429 | - echo '<div class="monsterinsights-wooedd-upsell-left">'; |
|
430 | - echo '<p><strong>'; |
|
431 | - echo esc_html( 'Enhanced Ecommerce Analytics for Your Easy Digital Downloads Store', 'google-analytics-for-wordpress' ); |
|
432 | - echo '</strong></p>'; |
|
433 | - echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
434 | - echo '<p>'; |
|
435 | - echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' ); |
|
436 | - echo '</p>'; |
|
437 | - echo '<p>'; |
|
438 | - echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' ); |
|
439 | - echo '</p>'; |
|
440 | - echo '<p>'; |
|
441 | - echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' ); |
|
442 | - echo '</p>'; |
|
443 | - echo '<p>'; |
|
444 | - echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' ); |
|
445 | - echo '</p>'; |
|
446 | - echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'edd-upgrade' ) .'">', ' »</a>' ); |
|
447 | - echo '</p>'; |
|
448 | - echo '</div><div class="monsterinsights-wooedd-upsell-right">'; |
|
449 | - echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
450 | - echo '</div>'; |
|
451 | - echo '</div>'; |
|
452 | - return; |
|
453 | - } |
|
427 | + if ( ! isset( $notices['monsterinsights_edd_tracking_available' ] ) ) { |
|
428 | + echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_edd_tracking_available">'; |
|
429 | + echo '<div class="monsterinsights-wooedd-upsell-left">'; |
|
430 | + echo '<p><strong>'; |
|
431 | + echo esc_html( 'Enhanced Ecommerce Analytics for Your Easy Digital Downloads Store', 'google-analytics-for-wordpress' ); |
|
432 | + echo '</strong></p>'; |
|
433 | + echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
434 | + echo '<p>'; |
|
435 | + echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' ); |
|
436 | + echo '</p>'; |
|
437 | + echo '<p>'; |
|
438 | + echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' ); |
|
439 | + echo '</p>'; |
|
440 | + echo '<p>'; |
|
441 | + echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' ); |
|
442 | + echo '</p>'; |
|
443 | + echo '<p>'; |
|
444 | + echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' ); |
|
445 | + echo '</p>'; |
|
446 | + echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'edd-upgrade' ) .'">', ' »</a>' ); |
|
447 | + echo '</p>'; |
|
448 | + echo '</div><div class="monsterinsights-wooedd-upsell-right">'; |
|
449 | + echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">'; |
|
450 | + echo '</div>'; |
|
451 | + echo '</div>'; |
|
452 | + return; |
|
453 | + } |
|
454 | 454 | } |
455 | 455 | } |
456 | 456 | add_action( 'admin_notices', 'monsterinsights_admin_setup_notices' ); |
@@ -460,7 +460,7 @@ discard block |
||
460 | 460 | // AM Notices |
461 | 461 | function monsterinsights_am_notice_optout( $super_admin ) { |
462 | 462 | if ( monsterinsights_get_option( 'hide_am_notices', false ) || monsterinsights_get_option( 'network_hide_am_notices', false ) ) { |
463 | - return false; |
|
463 | + return false; |
|
464 | 464 | } |
465 | 465 | return $super_admin; |
466 | 466 | } |
@@ -9,32 +9,32 @@ discard block |
||
9 | 9 | global $admin_page_hooks; |
10 | 10 | |
11 | 11 | if ( ! is_object( $current_screen ) || empty( $current_screen->id ) || empty( $admin_page_hooks ) ) { |
12 | - return false; |
|
12 | + return false; |
|
13 | 13 | } |
14 | 14 | |
15 | 15 | $settings_page = false; |
16 | 16 | if ( ! empty( $admin_page_hooks['monsterinsights_settings'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_settings'] ) { |
17 | - $settings_page = true; |
|
17 | + $settings_page = true; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | if ( ! empty( $admin_page_hooks['monsterinsights_reports'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_reports'] ) { |
21 | - $settings_page = true; |
|
21 | + $settings_page = true; |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | if ( $current_screen->id === 'toplevel_page_monsterinsights_settings' ) { |
25 | - $settings_page = true; |
|
25 | + $settings_page = true; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | if ( $current_screen->id === 'insights_page_monsterinsights_settings' ) { |
29 | - $settings_page = true; |
|
29 | + $settings_page = true; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | if ( $current_screen->id === 'insights_page_monsterinsights_tracking' ) { |
33 | - $settings_page = true; |
|
33 | + $settings_page = true; |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | if ( ! empty( $current_screen->base ) && strpos( $current_screen->base, 'monsterinsights_network' ) !== false ) { |
37 | - $settings_page = true; |
|
37 | + $settings_page = true; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | return $settings_page; |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | |
94 | 94 | |
95 | 95 | /** |
96 | - * Error page HTML |
|
96 | + * Error page HTML |
|
97 | 97 | **/ |
98 | 98 | function monsterinsights_settings_error_page( $id = 'monsterinsights-vue-site-settings' ) { |
99 | 99 | $inline_logo_image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAd4AAABaCAYAAAAWyDe5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDJFRDBENkZFQ0Y2MTFFOEE5OUNCODFENzIyODU1MzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDJFRDBENzBFQ0Y2MTFFOEE5OUNCODFENzIyODU1MzEiPiA8eG1wTU06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Hfb3U13CRijn8trd6BfGp8ZXF+ef6At7r8VV2BwkJCQmJgcb/CzAAgMnNiHBbpicAAAAASUVORK5CYII='; |
@@ -195,18 +195,18 @@ |
||
195 | 195 | return; |
196 | 196 | } |
197 | 197 | |
198 | - // Otherwise, our request has been done successfully. Update the option and set the success message. |
|
199 | - $option = is_network_admin() ? MonsterInsights()->license->get_network_license() : MonsterInsights()->license->get_site_license(); |
|
200 | - $option['key'] = trim( $_POST['monsterinsights-license-key'] ); |
|
201 | - $option['type'] = isset( $verify->type ) ? $verify->type : $option['type']; |
|
202 | - $option['is_expired'] = false; |
|
203 | - $option['is_disabled'] = false; |
|
204 | - $option['is_invalid'] = false; |
|
205 | - $this->success[] = isset( $verify->success ) ? $verify->success : esc_html__( 'Congratulations! This site is now receiving automatic updates.', 'google-analytics-for-wordpress' ); |
|
206 | - is_network_admin() ? MonsterInsights()->license->set_network_license( $option ) : MonsterInsights()->license->set_site_license( $option ); |
|
207 | - delete_transient( '_monsterinsights_addons' ); |
|
208 | - monsterinsights_get_addons_data( $option['key'] ); |
|
209 | - // Make sure users can now update their plugins if they previously an expired key. |
|
198 | + // Otherwise, our request has been done successfully. Update the option and set the success message. |
|
199 | + $option = is_network_admin() ? MonsterInsights()->license->get_network_license() : MonsterInsights()->license->get_site_license(); |
|
200 | + $option['key'] = trim( $_POST['monsterinsights-license-key'] ); |
|
201 | + $option['type'] = isset( $verify->type ) ? $verify->type : $option['type']; |
|
202 | + $option['is_expired'] = false; |
|
203 | + $option['is_disabled'] = false; |
|
204 | + $option['is_invalid'] = false; |
|
205 | + $this->success[] = isset( $verify->success ) ? $verify->success : esc_html__( 'Congratulations! This site is now receiving automatic updates.', 'google-analytics-for-wordpress' ); |
|
206 | + is_network_admin() ? MonsterInsights()->license->set_network_license( $option ) : MonsterInsights()->license->set_site_license( $option ); |
|
207 | + delete_transient( '_monsterinsights_addons' ); |
|
208 | + monsterinsights_get_addons_data( $option['key'] ); |
|
209 | + // Make sure users can now update their plugins if they previously an expired key. |
|
210 | 210 | wp_clean_plugins_cache( true ); |
211 | 211 | } |
212 | 212 |