GA Google Analytics - Version 20220123

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 20220123
Comparing to
See all releases

Code changes from version 20210719 to 20220123

ga-google-analytics.php CHANGED
@@ -8,10 +8,10 @@
8
  Author URI: https://plugin-planet.com/
9
  Donate link: https://monzillamedia.com/donate.html
10
  Contributors: specialk
11
- Requires at least: 4.1
12
- Tested up to: 5.8
13
- Stable tag: 20210719
14
- Version: 20210719
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
@@ -32,7 +32,7 @@
32
  You should have received a copy of the GNU General Public License
33
  with this program. If not, visit: https://www.gnu.org/licenses/
34
 
35
- Copyright 2021 Monzilla Media. All rights reserved.
36
  */
37
 
38
  if (!defined('ABSPATH')) die();
@@ -51,7 +51,7 @@ if (!class_exists('GA_Google_Analytics')) {
51
  add_action('admin_enqueue_scripts', array($this, 'admin_scripts'));
52
  add_filter('plugin_action_links', array($this, 'action_links'), 10, 2);
53
  add_filter('plugin_row_meta', array($this, 'plugin_links'), 10, 2);
54
- add_action('plugins_loaded', array($this, 'load_i18n'));
55
  add_action('admin_init', array($this, 'check_version'));
56
  add_action('admin_init', array($this, 'reset_options'));
57
  add_action('admin_notices', array($this, 'admin_notices'));
@@ -60,8 +60,8 @@ if (!class_exists('GA_Google_Analytics')) {
60
 
61
  function constants() {
62
 
63
- if (!defined('GAP_VERSION')) define('GAP_VERSION', '20210719');
64
- if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.1');
65
  if (!defined('GAP_AUTHOR')) define('GAP_AUTHOR', 'Jeff Starr');
66
  if (!defined('GAP_NAME')) define('GAP_NAME', __('GA Google Analytics', 'ga-google-analytics'));
67
  if (!defined('GAP_HOME')) define('GAP_HOME', 'https://perishablepress.com/ga-google-analytics/');
@@ -222,7 +222,7 @@ if (!class_exists('GA_Google_Analytics')) {
222
 
223
  } else {
224
 
225
- return load_plugin_textdomain($domain, false, GAP_DIR .'languages/');
226
 
227
  }
228
 
8
  Author URI: https://plugin-planet.com/
9
  Donate link: https://monzillamedia.com/donate.html
10
  Contributors: specialk
11
+ Requires at least: 4.6
12
+ Tested up to: 5.9
13
+ Stable tag: 20220123
14
+ Version: 20220123
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
32
  You should have received a copy of the GNU General Public License
33
  with this program. If not, visit: https://www.gnu.org/licenses/
34
 
35
+ Copyright 2022 Monzilla Media. All rights reserved.
36
  */
37
 
38
  if (!defined('ABSPATH')) die();
51
  add_action('admin_enqueue_scripts', array($this, 'admin_scripts'));
52
  add_filter('plugin_action_links', array($this, 'action_links'), 10, 2);
53
  add_filter('plugin_row_meta', array($this, 'plugin_links'), 10, 2);
54
+ add_action('init', array($this, 'load_i18n'));
55
  add_action('admin_init', array($this, 'check_version'));
56
  add_action('admin_init', array($this, 'reset_options'));
57
  add_action('admin_notices', array($this, 'admin_notices'));
60
 
61
  function constants() {
62
 
63
+ if (!defined('GAP_VERSION')) define('GAP_VERSION', '20220123');
64
+ if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.6');
65
  if (!defined('GAP_AUTHOR')) define('GAP_AUTHOR', 'Jeff Starr');
66
  if (!defined('GAP_NAME')) define('GAP_NAME', __('GA Google Analytics', 'ga-google-analytics'));
67
  if (!defined('GAP_HOME')) define('GAP_HOME', 'https://perishablepress.com/ga-google-analytics/');
222
 
223
  } else {
224
 
225
+ return load_plugin_textdomain($domain, false, dirname(plugin_basename(__FILE__)) .'/languages/');
226
 
227
  }
228
 
img/250x250-wizards-sql.jpg ADDED
Binary file
inc/support-panel.php CHANGED
@@ -39,6 +39,9 @@ $array = array(
39
  9 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/ga-google-analytics-pro/" title="Connect Google Analytics to WordPress">
40
  <img width="125" height="125" src="'. $plugin_url .'img/250x250-ga-pro.jpg" alt="GA Google Analytics Pro" />
41
  </a>',
 
 
 
42
 
43
  );
44
 
39
  9 => '<a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/ga-google-analytics-pro/" title="Connect Google Analytics to WordPress">
40
  <img width="125" height="125" src="'. $plugin_url .'img/250x250-ga-pro.jpg" alt="GA Google Analytics Pro" />
41
  </a>',
42
+ 10 => '<a target="_blank" rel="noopener noreferrer" href="https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/" title="Wizard&rsquo;s SQL Recipes for WordPress">
43
+ <img width="125" height="125" src="'. $plugin_url .'img/250x250-wizards-sql.jpg" alt="Wizard&rsquo;s SQL Recipes for WordPress" />
44
+ </a>',
45
 
46
  );
47
 
readme.txt CHANGED
@@ -8,10 +8,10 @@ Author: Jeff Starr
8
  Author URI: https://plugin-planet.com/
9
  Donate link: https://monzillamedia.com/donate.html
10
  Contributors: specialk
11
- Requires at least: 4.1
12
- Tested up to: 5.8
13
- Stable tag: 20210719
14
- Version: 20210719
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
@@ -286,7 +286,7 @@ So can adjust things as needed to add any parameters that are required.
286
 
287
  **Got a question?**
288
 
289
- To ask a question, suggest a feature, or provide feedback, [contact me directly](https://perishablepress.com/contact/). Learn more about [Google Analytics](https://www.google.com/analytics/) and [GA tracking methods](https://perishablepress.com/3-ways-track-google-analytics/).
290
 
291
 
292
 
@@ -298,6 +298,7 @@ I develop and maintain this free plugin with love for the WordPress community. T
298
  * [Digging into WordPress](https://digwp.com/)
299
  * [.htaccess made easy](https://htaccessbook.com/)
300
  * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
 
301
 
302
  And/or purchase one of my premium WordPress plugins:
303
 
@@ -320,6 +321,14 @@ If you like GA Google Analytics, please take a moment to [give a 5-star rating](
320
  > New Pro version available! Check out [GA Pro &raquo;](https://plugin-planet.com/ga-google-analytics-pro/)
321
 
322
 
 
 
 
 
 
 
 
 
323
  **20210719**
324
 
325
  * Improves readme/documentation
8
  Author URI: https://plugin-planet.com/
9
  Donate link: https://monzillamedia.com/donate.html
10
  Contributors: specialk
11
+ Requires at least: 4.6
12
+ Tested up to: 5.9
13
+ Stable tag: 20220123
14
+ Version: 20220123
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
286
 
287
  **Got a question?**
288
 
289
+ To ask a question, suggest a feature, or provide feedback, [contact me directly](https://plugin-planet.com/support/#contact). Learn more about [Google Analytics](https://www.google.com/analytics/) and [GA tracking methods](https://perishablepress.com/3-ways-track-google-analytics/).
290
 
291
 
292
 
298
  * [Digging into WordPress](https://digwp.com/)
299
  * [.htaccess made easy](https://htaccessbook.com/)
300
  * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
301
+ * [Wizard's SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/)
302
 
303
  And/or purchase one of my premium WordPress plugins:
304
 
321
  > New Pro version available! Check out [GA Pro &raquo;](https://plugin-planet.com/ga-google-analytics-pro/)
322
 
323
 
324
+ **20220123**
325
+
326
+ * Updates support panel
327
+ * Improves loading of translations
328
+ * Updates some links to external resources
329
+ * Changes minimum required WP version to 4.6
330
+ * Tests on WordPress 5.9
331
+
332
  **20210719**
333
 
334
  * Improves readme/documentation