Google Analytics - Version 3.3.1

Version Description

  • 21-Aug-2020
  • Fix : WooCommerce graph was returning the last 10 orders only.
Download this release

Release Info

Developer amribrahim
Plugin Icon 128x128 Google Analytics
Version 3.3.1
Comparing to
See all releases

Code changes from version 3.3.0 to 3.3.1

core/plugins/earnings/wordpress/lrga_wp_woo_plugin.php CHANGED
@@ -210,9 +210,10 @@ class lrga_wp_woo_plugin extends lrga_earnings_sales{
210
  return $results;
211
  }
212
 
213
- private function getOrders(){ //revise
214
  $args = array( 'date_paid' => ''.$this->startDate->format('U').'...'.$this->endDate->format('U').'',
215
- 'status' => 'completed'
 
216
  );
217
  return wc_get_orders($args);
218
  }
210
  return $results;
211
  }
212
 
213
+ private function getOrders(){
214
  $args = array( 'date_paid' => ''.$this->startDate->format('U').'...'.$this->endDate->format('U').'',
215
+ 'status' => 'completed',
216
+ 'limit' => -1
217
  );
218
  return wc_get_orders($args);
219
  }
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.3.0
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.xtraorbit.com/
10
  License: GPL2
@@ -15,9 +15,9 @@ Domain Path: /languages/
15
  if (!defined("ABSPATH"))
16
  die("This file cannot be accessed directly");
17
 
18
- define ("lrgawidget_plugin_version", "3.3.0");
19
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
20
- define ("lrgawidget_plugin_scripts_version", "330");
21
  define ("lrgawidget_plugin_dir", dirname(__FILE__ ) . DIRECTORY_SEPARATOR);
22
  define ("lrgawidget_plugin_dir_url", plugin_dir_url( __FILE__ ));
23
  define ("lrgawidget_plugin_dist_url", lrgawidget_plugin_dir_url . 'dist/');
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.3.1
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.xtraorbit.com/
10
  License: GPL2
15
  if (!defined("ABSPATH"))
16
  die("This file cannot be accessed directly");
17
 
18
+ define ("lrgawidget_plugin_version", "3.3.1");
19
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
20
+ define ("lrgawidget_plugin_scripts_version", "331");
21
  define ("lrgawidget_plugin_dir", dirname(__FILE__ ) . DIRECTORY_SEPARATOR);
22
  define ("lrgawidget_plugin_dir_url", plugin_dir_url( __FILE__ ));
23
  define ("lrgawidget_plugin_dist_url", lrgawidget_plugin_dir_url . 'dist/');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: amribrahim, laragoogleanalytics
4
  Requires PHP: 5.6.0
5
  Requires at least: 4.7.0
6
  Tested up to: 5.5.0
7
- Stable tag: 3.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -26,7 +26,7 @@ Adds a full width Google Analytics dashboard widget for WordPress admin interfac
26
  1. When done, Activate the plugin through the Plugins menu in WordPress.
27
 
28
  == Screenshots ==
29
- 1. Setup Screen, showing Express and Advanced Google Analytics setup options..
30
  2. Full width Google Analytics sessions tab.
31
  3. Google Analytics Sessions tab on wide screens.
32
  4. Google Analytics - Pro Version Only - Check metrics for any date range, not just the last 30 days.
@@ -40,6 +40,10 @@ 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
  = 3.3.0 =
44
  * 26-Jul-2020
45
  * New : Code refactoring.
4
  Requires PHP: 5.6.0
5
  Requires at least: 4.7.0
6
  Tested up to: 5.5.0
7
+ Stable tag: 3.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
26
  1. When done, Activate the plugin through the Plugins menu in WordPress.
27
 
28
  == Screenshots ==
29
+ 1. Setup Screen, showing Express and Advanced Google Analytics setup options.
30
  2. Full width Google Analytics sessions tab.
31
  3. Google Analytics Sessions tab on wide screens.
32
  4. Google Analytics - Pro Version Only - Check metrics for any date range, not just the last 30 days.
40
  12. Google Analytics - Pro Version Only - Traffic Sources, showing who is sending you visitors.
41
 
42
  == Changelog ==
43
+ = 3.3.1 =
44
+ * 21-Aug-2020
45
+ * Fix : WooCommerce graph was returning the last 10 orders only.
46
+
47
  = 3.3.0 =
48
  * 26-Jul-2020
49
  * New : Code refactoring.