Version Description
- 2015-11-19 - Medium Priority =
- Fixed a bug that caused the map to not display when a theme was not selected
Download this release
Release Info
Developer | WPGMaps |
Plugin | WP Google Maps |
Version | 6.3.03 |
Comparing to | |
See all releases |
Code changes from version 6.3.02 to 6.3.03
- readme.txt +3 -0
- wpGoogleMaps.php +22 -11
readme.txt
CHANGED
@@ -206,6 +206,9 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
|
|
206 |
|
207 |
== Changelog ==
|
208 |
|
|
|
|
|
|
|
209 |
= 6.3.02 - 2015-11-06 - Low priority =
|
210 |
* A new theme directory has been created - this allows you to use any map theme or style that you want simply by copying and pasting it's data
|
211 |
|
206 |
|
207 |
== Changelog ==
|
208 |
|
209 |
+
= 6.3.03 - 2015-11-19 - Medium Priority =
|
210 |
+
* Fixed a bug that caused the map to not display when a theme was not selected
|
211 |
+
|
212 |
= 6.3.02 - 2015-11-06 - Low priority =
|
213 |
* A new theme directory has been created - this allows you to use any map theme or style that you want simply by copying and pasting it's data
|
214 |
|
wpGoogleMaps.php
CHANGED
@@ -3,14 +3,17 @@
|
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: http://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
-
Version: 6.3.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: http://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
10 |
Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
-
/*
|
|
|
|
|
|
|
14 |
* 6.3.02 - 2015-11-06 - Low priority
|
15 |
* A new theme directory has been created - this allows you to use any map theme or style that you want simply by copying and pasting it's data
|
16 |
*
|
@@ -201,8 +204,8 @@ $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
|
|
201 |
$wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
|
202 |
$wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
|
203 |
$wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
|
204 |
-
$wpgmza_version = "6.3.
|
205 |
-
$wpgmza_p_version = "6.3.
|
206 |
$wpgmza_t = "basic";
|
207 |
define("WPGMAPS", $wpgmza_version);
|
208 |
define("WPGMAPS_DIR",plugin_dir_url(__FILE__));
|
@@ -1176,7 +1179,7 @@ function wpgmaps_admin_javascript_basic() {
|
|
1176 |
this.bounds = new google.maps.LatLngBounds();
|
1177 |
|
1178 |
|
1179 |
-
<?php if ($wpgmza_theme_data !== false && isset($wpgmza_theme_data)) { ?>
|
1180 |
this.map.setOptions({styles: <?php echo stripslashes($wpgmza_theme_data); ?>});
|
1181 |
<?php } ?>
|
1182 |
|
@@ -1664,8 +1667,9 @@ function wpgmaps_user_javascript_basic() {
|
|
1664 |
|
1665 |
this.map = new google.maps.Map(jQuery(selector)[0], myOptions);
|
1666 |
this.bounds = new google.maps.LatLngBounds();
|
1667 |
-
|
1668 |
-
|
|
|
1669 |
<?php } ?>
|
1670 |
|
1671 |
|
@@ -3896,7 +3900,7 @@ function wpgmaps_settings_page_basic() {
|
|
3896 |
}
|
3897 |
$upload_dir = wp_upload_dir();
|
3898 |
|
3899 |
-
|
3900 |
|
3901 |
$ret = "<form action='' method='post' id='wpgmaps_options'>";
|
3902 |
$ret .= " <p>$prov_msg</p>";
|
@@ -4098,7 +4102,7 @@ function wpgmaps_settings_page_basic() {
|
|
4098 |
$ret .= "</div>";
|
4099 |
|
4100 |
echo $ret;
|
4101 |
-
|
4102 |
|
4103 |
}
|
4104 |
|
@@ -4449,6 +4453,13 @@ function wpgmza_basic_menu() {
|
|
4449 |
|
4450 |
wpgmza_stats("dashboard");
|
4451 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4452 |
|
4453 |
echo "
|
4454 |
|
@@ -4597,7 +4608,7 @@ function wpgmza_basic_menu() {
|
|
4597 |
<h3>".__("Or use a custom theme","wp-google-maps")."</h3>
|
4598 |
<p><a href='http://www.wpgmaps.com/map-themes/?utm_source=plugin&utm_medium=link&utm_campaign=browse_themes' title='' target='_BLANK' class='button button-primary'>".__("Browse the theme directory","wp-google-maps")."</a></p>
|
4599 |
<p>".__("Paste your custom theme data here:","wp-google-maps")."</p>
|
4600 |
-
<textarea name=\"wpgmza_styling_json\" id=\"wpgmza_styling_json\" rows=\"8\" cols=\"40\">".stripslashes($
|
4601 |
<p><a href='javascript:void(0);' title='".__("Preview","wp-google-maps")."' class='button button-seconday' id='wpgmza_preview_theme'>".__("Preview","wp-google-maps")."</a></p>
|
4602 |
</td>
|
4603 |
|
@@ -6168,4 +6179,4 @@ function wpgmza_basic_support_menu() {
|
|
6168 |
</div>
|
6169 |
|
6170 |
<?php
|
6171 |
-
}
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: http://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
+
Version: 6.3.03
|
7 |
Author: WP Google Maps
|
8 |
Author URI: http://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
10 |
Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
+
/* 6.3.03 - 2015-11-19 - Low Priority
|
14 |
+
* Fixed a bug that caused the map to not display when a theme was not selected
|
15 |
+
*
|
16 |
+
*
|
17 |
* 6.3.02 - 2015-11-06 - Low priority
|
18 |
* A new theme directory has been created - this allows you to use any map theme or style that you want simply by copying and pasting it's data
|
19 |
*
|
204 |
$wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
|
205 |
$wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
|
206 |
$wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
|
207 |
+
$wpgmza_version = "6.3.03";
|
208 |
+
$wpgmza_p_version = "6.3.03";
|
209 |
$wpgmza_t = "basic";
|
210 |
define("WPGMAPS", $wpgmza_version);
|
211 |
define("WPGMAPS_DIR",plugin_dir_url(__FILE__));
|
1179 |
this.bounds = new google.maps.LatLngBounds();
|
1180 |
|
1181 |
|
1182 |
+
<?php if ($wpgmza_theme_data !== false && isset($wpgmza_theme_data) && $wpgmza_theme_data != '') { ?>
|
1183 |
this.map.setOptions({styles: <?php echo stripslashes($wpgmza_theme_data); ?>});
|
1184 |
<?php } ?>
|
1185 |
|
1667 |
|
1668 |
this.map = new google.maps.Map(jQuery(selector)[0], myOptions);
|
1669 |
this.bounds = new google.maps.LatLngBounds();
|
1670 |
+
|
1671 |
+
<?php if ($wpgmza_theme_data !== false && isset($wpgmza_theme_data) && $wpgmza_theme_data != '') { ?>
|
1672 |
+
this.map.setOptions({styles: <?php echo stripslashes($wpgmza_theme_data); ?>});
|
1673 |
<?php } ?>
|
1674 |
|
1675 |
|
3900 |
}
|
3901 |
$upload_dir = wp_upload_dir();
|
3902 |
|
3903 |
+
$map_settings_action = '';
|
3904 |
|
3905 |
$ret = "<form action='' method='post' id='wpgmaps_options'>";
|
3906 |
$ret .= " <p>$prov_msg</p>";
|
4102 |
$ret .= "</div>";
|
4103 |
|
4104 |
echo $ret;
|
4105 |
+
|
4106 |
|
4107 |
}
|
4108 |
|
4453 |
|
4454 |
wpgmza_stats("dashboard");
|
4455 |
|
4456 |
+
if( isset( $other_settings_data['wpgmza_theme_data'] ) ){
|
4457 |
+
$wpgmza_theme_data_custom = $other_settings_data['wpgmza_theme_data'];
|
4458 |
+
} else {
|
4459 |
+
$wpgmza_theme_data_custom = '';
|
4460 |
+
}
|
4461 |
+
|
4462 |
+
|
4463 |
|
4464 |
echo "
|
4465 |
|
4608 |
<h3>".__("Or use a custom theme","wp-google-maps")."</h3>
|
4609 |
<p><a href='http://www.wpgmaps.com/map-themes/?utm_source=plugin&utm_medium=link&utm_campaign=browse_themes' title='' target='_BLANK' class='button button-primary'>".__("Browse the theme directory","wp-google-maps")."</a></p>
|
4610 |
<p>".__("Paste your custom theme data here:","wp-google-maps")."</p>
|
4611 |
+
<textarea name=\"wpgmza_styling_json\" id=\"wpgmza_styling_json\" rows=\"8\" cols=\"40\">".stripslashes($wpgmza_theme_data_custom)."</textarea>
|
4612 |
<p><a href='javascript:void(0);' title='".__("Preview","wp-google-maps")."' class='button button-seconday' id='wpgmza_preview_theme'>".__("Preview","wp-google-maps")."</a></p>
|
4613 |
</td>
|
4614 |
|
6179 |
</div>
|
6180 |
|
6181 |
<?php
|
6182 |
+
}
|