Version Description
- Fixed: Conflicts with some plugins
Download this release
Release Info
Developer | webdorado |
Plugin | WD Google Maps – Google Maps builder Plugin |
Version | 1.0.17 |
Comparing to | |
See all releases |
Code changes from version 1.0.16 to 1.0.17
- gmwd_admin_class.php +4 -4
- wd-google-maps-notices.php → notices/gmwd-notices.php +2 -1
- readme.txt +4 -1
- wd-google-maps.php +3 -6
gmwd_admin_class.php
CHANGED
@@ -11,7 +11,7 @@ class GMWDAdmin{
|
|
11 |
// Variables //
|
12 |
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
protected static $instance = null;
|
14 |
-
private static $version = '1.0.
|
15 |
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
// Constructor & Destructor //
|
17 |
////////////////////////////////////////////////////////////////////////////////////////
|
@@ -169,6 +169,7 @@ class GMWDAdmin{
|
|
169 |
if ($page == 'gmwd_preview' ) {
|
170 |
require_once( 'preview.php' );
|
171 |
}
|
|
|
172 |
|
173 |
}
|
174 |
|
@@ -200,9 +201,6 @@ class GMWDAdmin{
|
|
200 |
}
|
201 |
wp_enqueue_script('gmwd_map-js', $map_api_url);
|
202 |
wp_enqueue_script( 'gmwd_admin_main_map-js', GMWD_URL . '/js/main_map.js');
|
203 |
-
wp_enqueue_script('gmwd_jscolor-js', GMWD_URL . '/js/jscolor/jscolor.js', array(), true );
|
204 |
-
wp_enqueue_script( 'gmwd_simple_slider-js', GMWD_URL . '/js/simple-slider.js', array(), true);
|
205 |
-
|
206 |
|
207 |
global $wp_scripts;
|
208 |
if (isset($wp_scripts->registered['jquery'])) {
|
@@ -218,6 +216,8 @@ class GMWDAdmin{
|
|
218 |
|
219 |
$page = GMWDHelper::get('page') ? GMWDHelper::get('page') : "maps_gmwd" ;
|
220 |
if($page == "markers_gmwd" || ($page == "maps_gmwd" && GMWDHelper::get('task') == "edit") || $page == "polygons_gmwd" || $page == "polylines_gmwd" || $page == "options_gmwd" ){
|
|
|
|
|
221 |
wp_enqueue_script($page.'-js', GMWD_URL . '/js/'.$page.'.js' , array(), self::$version, false);
|
222 |
}
|
223 |
|
11 |
// Variables //
|
12 |
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
protected static $instance = null;
|
14 |
+
private static $version = '1.0.17';
|
15 |
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
// Constructor & Destructor //
|
17 |
////////////////////////////////////////////////////////////////////////////////////////
|
169 |
if ($page == 'gmwd_preview' ) {
|
170 |
require_once( 'preview.php' );
|
171 |
}
|
172 |
+
include_once(GMWD_DIR . '/notices/gmwd-notices.php');
|
173 |
|
174 |
}
|
175 |
|
201 |
}
|
202 |
wp_enqueue_script('gmwd_map-js', $map_api_url);
|
203 |
wp_enqueue_script( 'gmwd_admin_main_map-js', GMWD_URL . '/js/main_map.js');
|
|
|
|
|
|
|
204 |
|
205 |
global $wp_scripts;
|
206 |
if (isset($wp_scripts->registered['jquery'])) {
|
216 |
|
217 |
$page = GMWDHelper::get('page') ? GMWDHelper::get('page') : "maps_gmwd" ;
|
218 |
if($page == "markers_gmwd" || ($page == "maps_gmwd" && GMWDHelper::get('task') == "edit") || $page == "polygons_gmwd" || $page == "polylines_gmwd" || $page == "options_gmwd" ){
|
219 |
+
wp_enqueue_script('gmwd_jscolor-js', GMWD_URL . '/js/jscolor/jscolor.js', array(), true );
|
220 |
+
wp_enqueue_script( 'gmwd_simple_slider-js', GMWD_URL . '/js/simple-slider.js', array(), true);
|
221 |
wp_enqueue_script($page.'-js', GMWD_URL . '/js/'.$page.'.js' , array(), self::$version, false);
|
222 |
}
|
223 |
|
wd-google-maps-notices.php → notices/gmwd-notices.php
RENAMED
@@ -232,4 +232,5 @@ class GMWD_Notices {
|
|
232 |
);
|
233 |
$this->admin_notice($notices);
|
234 |
}
|
235 |
-
}
|
|
232 |
);
|
233 |
$this->admin_notice($notices);
|
234 |
}
|
235 |
+
}
|
236 |
+
new GMWD_Notices();
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
|
4 |
Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -113,6 +113,9 @@ After downloading the ZIP file of the Google Maps WD plugin,
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
116 |
= 1.0.16 =
|
117 |
* Added: GMWD Marker Clustering add-on
|
118 |
|
4 |
Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 1.0.17
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 1.0.17 =
|
117 |
+
* Fixed: Conflicts with some plugins
|
118 |
+
|
119 |
= 1.0.16 =
|
120 |
* Added: GMWD Marker Clustering add-on
|
121 |
|
wd-google-maps.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
/**
|
4 |
* Plugin Name: Google Maps WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
6 |
-
* Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for
|
7 |
-
* Version: 1.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -53,10 +53,7 @@ function gmwd_map($shortcode_id, $map_id ){
|
|
53 |
}
|
54 |
require_once( GMWD_DIR. '/widgets.php' );
|
55 |
|
56 |
-
|
57 |
-
include_once(GMWD_DIR . '/wd-google-maps-notices.php');
|
58 |
-
new GMWD_Notices();
|
59 |
-
}
|
60 |
|
61 |
|
62 |
?>
|
3 |
/**
|
4 |
* Plugin Name: Google Maps WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
6 |
+
* Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
7 |
+
* Version: 1.0.17
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
53 |
}
|
54 |
require_once( GMWD_DIR. '/widgets.php' );
|
55 |
|
56 |
+
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
?>
|