Google Analytics - Version 2.0.5

Version Description

  • 14-Oct-2019
  • Fix : validate POST variables.
Download this release

Release Info

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

Code changes from version 2.0.4 to 2.0.5

Files changed (2) hide show
  1. lara-google-analytics.php +4 -4
  2. readme.txt +7 -3
lara-google-analytics.php CHANGED
@@ -4,14 +4,14 @@
4
  Plugin Name: 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: 2.0.4
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.xtraorbit.com/
10
  License: GPL2
11
  */
12
 
13
- define ("lrgawidget_plugin_version", "2.0.4");
14
- define ("lrgawidget_plugin_scripts_version", "204");
15
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
16
  define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
17
  define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
@@ -79,7 +79,7 @@ function lrgawidget_callback() {
79
  global $wpdb;
80
  $user_id = get_current_user_id();
81
  $lrperm = lrgawidget_internal_permissions();
82
- $lrdata = $_POST;
83
  $modifiedAction = explode("_", $lrdata['action']);
84
  $lrdata['action'] = $modifiedAction[1];
85
 
4
  Plugin Name: 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: 2.0.5
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.xtraorbit.com/
10
  License: GPL2
11
  */
12
 
13
+ define ("lrgawidget_plugin_version", "2.0.5");
14
+ define ("lrgawidget_plugin_scripts_version", "205");
15
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
16
  define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
17
  define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
79
  global $wpdb;
80
  $user_id = get_current_user_id();
81
  $lrperm = lrgawidget_internal_permissions();
82
+ $lrdata = array_map ( 'htmlspecialchars' , $_POST );
83
  $modifiedAction = explode("_", $lrdata['action']);
84
  $lrdata['action'] = $modifiedAction[1];
85
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: analytics,google analytics,google analytics dashboard,google analytics plu
3
  Contributors: amribrahim, laragoogleanalytics
4
  Requires PHP: 5.3.0
5
  Requires at least: 4.0
6
- Tested up to: 5.0.1
7
- Stable tag: 2.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,4 +98,8 @@ Adds a full width Google Analytics dashboard widget for WordPress admin interfac
98
 
99
  = 2.0.4 =
100
  * 8-Dec-2018
101
- * update : moment.js updated to v2.23.0.
 
 
 
 
3
  Contributors: amribrahim, laragoogleanalytics
4
  Requires PHP: 5.3.0
5
  Requires at least: 4.0
6
+ Tested up to: 5.2.3
7
+ Stable tag: 2.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
  = 2.0.4 =
100
  * 8-Dec-2018
101
+ * update : moment.js updated to v2.23.0.
102
+
103
+ = 2.0.5 =
104
+ * 14-Oct-2019
105
+ * Fix : validate POST variables.