Version Description
- 27-Apr-2020
- Fix : Show the correct dates in negative UTC timezone.
- Update : The plugin now requires PHP version 5.6 or higher, and WordPress 4.7 or higher.
- Rearranging the changelog.
Download this release
Release Info
Developer | amribrahim |
Plugin | Google Analytics |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- dist/js/lrgalite-main.js +1 -1
- dist/js/lrgawidget.js +1 -1
- lara-google-analytics.php +8 -5
- readme.txt +80 -74
dist/js/lrgalite-main.js
CHANGED
@@ -913,7 +913,7 @@ function drawGraph(data,name){
|
|
913 |
var y = item.datapoint[1];
|
914 |
var rightMargin = "auto";
|
915 |
var leftMargin = "auto";
|
916 |
-
var formattedDateString = moment(item.datapoint[0]).format('ddd, MMMM D, YYYY');
|
917 |
|
918 |
var currToolTipText = formattedDateString + "<br>";
|
919 |
var totalorders = 0;
|
913 |
var y = item.datapoint[1];
|
914 |
var rightMargin = "auto";
|
915 |
var leftMargin = "auto";
|
916 |
+
var formattedDateString = moment.utc(item.datapoint[0]).format('ddd, MMMM D, YYYY');
|
917 |
|
918 |
var currToolTipText = formattedDateString + "<br>";
|
919 |
var totalorders = 0;
|
dist/js/lrgawidget.js
CHANGED
@@ -626,7 +626,7 @@ function drawGraph(data,name){
|
|
626 |
var y = item.datapoint[1];
|
627 |
var rightMargin = "auto";
|
628 |
var leftMargin = "auto";
|
629 |
-
var formattedDateString = moment(item.datapoint[0]).format('ddd, MMMM D, YYYY');
|
630 |
|
631 |
var currToolTipText = formattedDateString + "<br>";
|
632 |
var totalorders = 0;
|
626 |
var y = item.datapoint[1];
|
627 |
var rightMargin = "auto";
|
628 |
var leftMargin = "auto";
|
629 |
+
var formattedDateString = moment.utc(item.datapoint[0]).format('ddd, MMMM D, YYYY');
|
630 |
|
631 |
var currToolTipText = formattedDateString + "<br>";
|
632 |
var totalorders = 0;
|
lara-google-analytics.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Lara's Google Analytics
|
5 |
Plugin URI: https://www.xtraorbit.com/wordpress-google-analytics-dashboard-widget/
|
6 |
Description: Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics tracking code to your pages.
|
7 |
-
Version: 3.2.
|
8 |
Author: Amr M. Ibrahim
|
9 |
Author URI: https://www.xtraorbit.com/
|
10 |
License: GPL2
|
@@ -12,8 +12,11 @@ Text Domain: lara-google-analytics
|
|
12 |
Domain Path: /languages/
|
13 |
*/
|
14 |
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
define ("lrgawidget_plugin_prefiex", "lrgalite-");
|
18 |
define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
|
19 |
define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
|
@@ -149,9 +152,9 @@ function lrgawidget_ga_code(){
|
|
149 |
|
150 |
function lrgawidget_activate() {
|
151 |
global $wpdb;
|
152 |
-
if ( version_compare( PHP_VERSION, '5.
|
153 |
deactivate_plugins( basename( __FILE__ ) );
|
154 |
-
wp_die('<p>'.sprintf('This plugin can not be activated because it requires a PHP version greater than <b>5.
|
155 |
}else{
|
156 |
$wpdb->query("CREATE TABLE IF NOT EXISTS `".lrgawidget_plugin_table."` (`id` int(10) NOT NULL AUTO_INCREMENT, `name` TEXT NOT NULL, `value` TEXT NOT NULL, PRIMARY KEY (`id`))");
|
157 |
}
|
4 |
Plugin Name: Lara's Google Analytics
|
5 |
Plugin URI: https://www.xtraorbit.com/wordpress-google-analytics-dashboard-widget/
|
6 |
Description: Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics tracking code to your pages.
|
7 |
+
Version: 3.2.2
|
8 |
Author: Amr M. Ibrahim
|
9 |
Author URI: https://www.xtraorbit.com/
|
10 |
License: GPL2
|
12 |
Domain Path: /languages/
|
13 |
*/
|
14 |
|
15 |
+
if (!defined("ABSPATH"))
|
16 |
+
die("This file cannot be accessed directly");
|
17 |
+
|
18 |
+
define ("lrgawidget_plugin_version", "3.2.2");
|
19 |
+
define ("lrgawidget_plugin_scripts_version", "322");
|
20 |
define ("lrgawidget_plugin_prefiex", "lrgalite-");
|
21 |
define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
|
22 |
define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
|
152 |
|
153 |
function lrgawidget_activate() {
|
154 |
global $wpdb;
|
155 |
+
if ( version_compare( PHP_VERSION, '5.6', '<' ) ) {
|
156 |
deactivate_plugins( basename( __FILE__ ) );
|
157 |
+
wp_die('<p>'.sprintf('This plugin can not be activated because it requires a PHP version greater than <b>5.6.0</b>.<br>You are currently using PHP <b>%1$s</b>.<br><br>Your PHP version can be updated by your hosting company.',PHP_VERSION).'</p><a href="'. admin_url('plugins.php').'">Go back</a>');
|
158 |
}else{
|
159 |
$wpdb->query("CREATE TABLE IF NOT EXISTS `".lrgawidget_plugin_table."` (`id` int(10) NOT NULL AUTO_INCREMENT, `name` TEXT NOT NULL, `value` TEXT NOT NULL, PRIMARY KEY (`id`))");
|
160 |
}
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Lara's Google Analytics ===
|
2 |
Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget
|
3 |
Contributors: amribrahim, laragoogleanalytics
|
4 |
-
Requires PHP: 5.
|
5 |
-
Requires at least: 4.0
|
6 |
Tested up to: 5.4.0
|
7 |
-
Stable tag: 3.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -40,41 +40,62 @@ Adds a full width Google Analytics dashboard widget for WordPress admin interfac
|
|
40 |
12. Google Analytics - Pro Version Only - Traffic Sources, showing who is sending you visitors.
|
41 |
|
42 |
== Changelog ==
|
43 |
-
=
|
44 |
-
*
|
45 |
-
*
|
|
|
|
|
46 |
|
47 |
-
=
|
48 |
-
*
|
49 |
-
*
|
50 |
-
|
51 |
-
= 1.0.4 =
|
52 |
-
* 27-April-2016
|
53 |
-
* Fix : Only users with 'manage_options' can access the widget.
|
54 |
|
55 |
-
=
|
56 |
-
*
|
57 |
-
*
|
|
|
|
|
58 |
|
59 |
-
= 1.0
|
60 |
-
*
|
61 |
-
*
|
62 |
-
* New :
|
63 |
|
64 |
-
=
|
65 |
-
*
|
66 |
-
* Fix : Combining Javascript and CSS files into 2 files.
|
67 |
-
* Fix : Checking for PHP version upon plugin activation.
|
68 |
-
* Fix : Several minor improvements.
|
69 |
* New : Code refactoring.
|
|
|
|
|
|
|
70 |
|
71 |
-
=
|
72 |
-
*
|
73 |
-
* Fix :
|
74 |
|
75 |
-
=
|
76 |
-
*
|
77 |
-
* Fix :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
= 2.0.0 =
|
80 |
* 12-Dec-2017
|
@@ -84,53 +105,38 @@ Adds a full width Google Analytics dashboard widget for WordPress admin interfac
|
|
84 |
* New : Moving Pages, Browsers, Languages, Operating Systems, and Screen Resolutions tabs to the free version.
|
85 |
* New : Warn when using different time zones.
|
86 |
|
87 |
-
=
|
88 |
-
*
|
89 |
-
* Fix :
|
90 |
-
|
91 |
-
= 2.0.2 =
|
92 |
-
* 8-May-2018
|
93 |
-
* New : Adding IP anonymization.
|
94 |
-
|
95 |
-
= 2.0.3 =
|
96 |
-
* 8-Dec-2018
|
97 |
-
* update : WordPress v 5.0 compatibility.
|
98 |
-
|
99 |
-
= 2.0.4 =
|
100 |
-
* 8-Dec-2018
|
101 |
-
* update : moment.js updated to v2.23.0.
|
102 |
|
103 |
-
=
|
104 |
-
*
|
105 |
-
* Fix :
|
106 |
|
107 |
-
=
|
108 |
-
*
|
109 |
-
* Fix :
|
110 |
-
* Fix :
|
|
|
|
|
111 |
|
112 |
-
=
|
113 |
-
*
|
114 |
-
* Fix :
|
|
|
115 |
|
116 |
-
=
|
117 |
-
*
|
118 |
-
*
|
119 |
-
* New : Various security checks and validation for POST variables.
|
120 |
-
* New : Implementing Multisite Multi-Network in the Pro Version.
|
121 |
-
* New : Implementing Permissions Control in the Pro Version.
|
122 |
|
123 |
-
=
|
124 |
-
*
|
125 |
-
*
|
126 |
-
* New : Review notice.
|
127 |
|
128 |
-
=
|
129 |
-
*
|
130 |
-
*
|
131 |
-
* New : WooCommerce earnings graph.
|
132 |
-
* Fix : Compatibility issues with other plugins, that causes the widget to display a blank page, instead of the main graph.
|
133 |
|
134 |
-
=
|
135 |
-
*
|
136 |
-
*
|
1 |
=== Lara's Google Analytics ===
|
2 |
Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget
|
3 |
Contributors: amribrahim, laragoogleanalytics
|
4 |
+
Requires PHP: 5.6.0
|
5 |
+
Requires at least: 4.7.0
|
6 |
Tested up to: 5.4.0
|
7 |
+
Stable tag: 3.2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
40 |
12. Google Analytics - Pro Version Only - Traffic Sources, showing who is sending you visitors.
|
41 |
|
42 |
== Changelog ==
|
43 |
+
= 3.2.2 =
|
44 |
+
* 27-Apr-2020
|
45 |
+
* Fix : Show the correct dates in negative UTC timezone.
|
46 |
+
* Update : The plugin now requires PHP version 5.6 or higher, and WordPress 4.7 or higher.
|
47 |
+
* Rearranging the changelog.
|
48 |
|
49 |
+
= 3.2.1 =
|
50 |
+
* 13-Mar-2020
|
51 |
+
* Fix : Site Health errors, caused by session_start.
|
|
|
|
|
|
|
|
|
52 |
|
53 |
+
= 3.2.0 =
|
54 |
+
* 5-Mar-2020
|
55 |
+
* New : [pro] Added the ability to lock settings for users.
|
56 |
+
* New : WooCommerce earnings graph.
|
57 |
+
* Fix : Compatibility issues with other plugins, that causes the widget to display a blank page, instead of the main graph.
|
58 |
|
59 |
+
= 3.1.0 =
|
60 |
+
* 26-Jan-2020
|
61 |
+
* New : Localization support.
|
62 |
+
* New : Review notice.
|
63 |
|
64 |
+
= 3.0.0 =
|
65 |
+
* 02-Jan-2020
|
|
|
|
|
|
|
66 |
* New : Code refactoring.
|
67 |
+
* New : Various security checks and validation for POST variables.
|
68 |
+
* New : Implementing Multisite Multi-Network in the Pro Version.
|
69 |
+
* New : Implementing Permissions Control in the Pro Version.
|
70 |
|
71 |
+
= 2.0.7 =
|
72 |
+
* 14-Oct-2019
|
73 |
+
* Fix : restrict settings to super admins.
|
74 |
|
75 |
+
= 2.0.6 =
|
76 |
+
* 14-Oct-2019
|
77 |
+
* Fix : extra validation for POST variables.
|
78 |
+
* Fix : Pages tab shows correct percentage values.
|
79 |
+
|
80 |
+
= 2.0.5 =
|
81 |
+
* 14-Oct-2019
|
82 |
+
* Fix : validate POST variables.
|
83 |
+
|
84 |
+
= 2.0.4 =
|
85 |
+
* 8-Dec-2018
|
86 |
+
* update : moment.js updated to v2.23.0.
|
87 |
+
|
88 |
+
= 2.0.3 =
|
89 |
+
* 8-Dec-2018
|
90 |
+
* update : WordPress v 5.0 compatibility.
|
91 |
+
|
92 |
+
= 2.0.2 =
|
93 |
+
* 8-May-2018
|
94 |
+
* New : Adding IP anonymization.
|
95 |
+
|
96 |
+
= 2.0.1 =
|
97 |
+
* 17-Feb-2018
|
98 |
+
* Fix : Support URL and plugin overview URL updated.
|
99 |
|
100 |
= 2.0.0 =
|
101 |
* 12-Dec-2017
|
105 |
* New : Moving Pages, Browsers, Languages, Operating Systems, and Screen Resolutions tabs to the free version.
|
106 |
* New : Warn when using different time zones.
|
107 |
|
108 |
+
= 1.1.2 =
|
109 |
+
* 8-June-2017
|
110 |
+
* Fix : WordPress v4.8 compatibility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
+
= 1.1.1 =
|
113 |
+
* 8-Jan-2017
|
114 |
+
* Fix : Changed cURL query handling, to prevent requests to google from returning errors.
|
115 |
|
116 |
+
= 1.1 =
|
117 |
+
* 30-Oct-2016
|
118 |
+
* Fix : Combining Javascript and CSS files into 2 files.
|
119 |
+
* Fix : Checking for PHP version upon plugin activation.
|
120 |
+
* Fix : Several minor improvements.
|
121 |
+
* New : Code refactoring.
|
122 |
|
123 |
+
= 1.0.6 =
|
124 |
+
* 29-Aug-2016
|
125 |
+
* Fix : Check for cURL extension.
|
126 |
+
* New : Use PageViews in the pages tab.
|
127 |
|
128 |
+
= 1.0.5 =
|
129 |
+
* 7-May-2016
|
130 |
+
* Fix : Track subscribers and anonymous visitors only.
|
|
|
|
|
|
|
131 |
|
132 |
+
= 1.0.4 =
|
133 |
+
* 27-April-2016
|
134 |
+
* Fix : Only users with 'manage_options' can access the widget.
|
|
|
135 |
|
136 |
+
= 1.0.3 =
|
137 |
+
* 26-April-2016
|
138 |
+
* Revised description.
|
|
|
|
|
139 |
|
140 |
+
= 1.0.2 =
|
141 |
+
* 22-April-2016
|
142 |
+
* Initial release.
|