Version Description
- Bug Fix: multiple CSS fixes for frontend widget
- Bug Fix: clean-up output for View selection list
- Bug Fix: try to fix Google Charts conflicts with other plugins
- Bug Fix: prevent PHP warnings during authorization and while revoking tokens
Download this release
Release Info
Developer | deconf |
Plugin | Google Analytics Dashboard for WP (GADWP) |
Version | 4.9.1.2 |
Comparing to | |
See all releases |
Code changes from version 4.9.1.2b to 4.9.1.2
- common/js/reports.js +33 -34
- gadwp.php +2 -2
- readme.txt +1 -1
common/js/reports.js
CHANGED
@@ -1,39 +1,6 @@
|
|
1 |
"use strict";
|
2 |
|
3 |
-
|
4 |
-
packages : [ "corechart", "table", "orgchart" ],
|
5 |
-
'language' : gadwp_item_data.language,
|
6 |
-
} );
|
7 |
-
|
8 |
-
google.setOnLoadCallback( GADWPLoad );
|
9 |
-
|
10 |
-
function GADWPLoad () {
|
11 |
-
|
12 |
-
jQuery( function () {
|
13 |
-
if ( gadwp_item_data.scope == 'admin-widgets' ) {
|
14 |
-
jQuery( '#gadwp-window-1' ).gadwpItemReport( 1 );
|
15 |
-
} else {
|
16 |
-
jQuery( gadwp_item_data.getSelector( gadwp_item_data.scope ) ).click( function () {
|
17 |
-
if ( !jQuery( "#gadwp-window-" + gadwp_item_data.getID( this ) ).length > 0 ) {
|
18 |
-
jQuery( "body" ).append( '<div id="gadwp-window-' + gadwp_item_data.getID( this ) + '"></div>' );
|
19 |
-
}
|
20 |
-
jQuery( '#gadwp-window-' + gadwp_item_data.getID( this ) ).gadwpItemReport( gadwp_item_data.getID( this ) );
|
21 |
-
} );
|
22 |
-
}
|
23 |
-
|
24 |
-
// on window resize
|
25 |
-
jQuery( window ).resize( function () {
|
26 |
-
gadwp_item_data.responsiveDialog();
|
27 |
-
} );
|
28 |
-
|
29 |
-
// dialog width larger than viewport
|
30 |
-
jQuery( document ).on( "dialogopen", ".ui-dialog", function ( event, ui ) {
|
31 |
-
gadwp_item_data.responsiveDialog();
|
32 |
-
} );
|
33 |
-
} );
|
34 |
-
}
|
35 |
-
|
36 |
-
// Get the numeric ID
|
37 |
gadwp_item_data.getID = function ( item ) {
|
38 |
if ( gadwp_item_data.scope == 'admin-item' ) {
|
39 |
if ( typeof item.id == "undefined" ) {
|
@@ -1201,3 +1168,35 @@ jQuery.fn.extend( {
|
|
1201 |
}
|
1202 |
}
|
1203 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
"use strict";
|
2 |
|
3 |
+
//Get the numeric ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
gadwp_item_data.getID = function ( item ) {
|
5 |
if ( gadwp_item_data.scope == 'admin-item' ) {
|
6 |
if ( typeof item.id == "undefined" ) {
|
1168 |
}
|
1169 |
}
|
1170 |
} );
|
1171 |
+
|
1172 |
+
google.load( "visualization", "1", {
|
1173 |
+
packages : [ "corechart", "table", "orgchart" ],
|
1174 |
+
'language' : gadwp_item_data.language,
|
1175 |
+
} );
|
1176 |
+
|
1177 |
+
google.setOnLoadCallback( GADWPLoad );
|
1178 |
+
|
1179 |
+
function GADWPLoad () {
|
1180 |
+
jQuery( function () {
|
1181 |
+
if ( gadwp_item_data.scope == 'admin-widgets' ) {
|
1182 |
+
jQuery( '#gadwp-window-1' ).gadwpItemReport( 1 );
|
1183 |
+
} else {
|
1184 |
+
jQuery( gadwp_item_data.getSelector( gadwp_item_data.scope ) ).click( function () {
|
1185 |
+
if ( !jQuery( "#gadwp-window-" + gadwp_item_data.getID( this ) ).length > 0 ) {
|
1186 |
+
jQuery( "body" ).append( '<div id="gadwp-window-' + gadwp_item_data.getID( this ) + '"></div>' );
|
1187 |
+
}
|
1188 |
+
jQuery( '#gadwp-window-' + gadwp_item_data.getID( this ) ).gadwpItemReport( gadwp_item_data.getID( this ) );
|
1189 |
+
} );
|
1190 |
+
}
|
1191 |
+
|
1192 |
+
// on window resize
|
1193 |
+
jQuery( window ).resize( function () {
|
1194 |
+
gadwp_item_data.responsiveDialog();
|
1195 |
+
} );
|
1196 |
+
|
1197 |
+
// dialog width larger than viewport
|
1198 |
+
jQuery( document ).on( "dialogopen", ".ui-dialog", function ( event, ui ) {
|
1199 |
+
gadwp_item_data.responsiveDialog();
|
1200 |
+
} );
|
1201 |
+
} );
|
1202 |
+
}
|
gadwp.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://deconf.com
|
5 |
* Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
|
6 |
* Author: Alin Marcu
|
7 |
-
* Version: 4.9.1.
|
8 |
* Author URI: https://deconf.com
|
9 |
* Text Domain: google-analytics-dashboard-for-wp
|
10 |
* Domain Path: /languages
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
16 |
|
17 |
// Plugin Version
|
18 |
if ( ! defined( 'GADWP_CURRENT_VERSION' ) ) {
|
19 |
-
define( 'GADWP_CURRENT_VERSION', '4.9.1.
|
20 |
}
|
21 |
|
22 |
if ( ! class_exists( 'GADWP_Manager' ) ) {
|
4 |
* Plugin URI: https://deconf.com
|
5 |
* Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
|
6 |
* Author: Alin Marcu
|
7 |
+
* Version: 4.9.1.2
|
8 |
* Author URI: https://deconf.com
|
9 |
* Text Domain: google-analytics-dashboard-for-wp
|
10 |
* Domain Path: /languages
|
16 |
|
17 |
// Plugin Version
|
18 |
if ( ! defined( 'GADWP_CURRENT_VERSION' ) ) {
|
19 |
+
define( 'GADWP_CURRENT_VERSION', '4.9.1.2' );
|
20 |
}
|
21 |
|
22 |
if ( ! class_exists( 'GADWP_Manager' ) ) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://deconf.com/donate/
|
|
4 |
Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics plugin,google analytics widget,tracking,universal google analytics,realtime,multisite,gadwp
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 4.9.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics plugin,google analytics widget,tracking,universal google analytics,realtime,multisite,gadwp
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 4.9.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|