Version Description
- Fixed small bugs
Download this release
Release Info
Developer | WPGMaps |
Plugin | WP Google Maps |
Version | 4.19 |
Comparing to | |
See all releases |
Code changes from version 4.18 to 4.19
- readme.txt +3 -0
- wpGoogleMaps.php +9 -10
readme.txt
CHANGED
@@ -75,6 +75,9 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 4.18 =
|
79 |
* Fixed an IE9 bug
|
80 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 4.19 =
|
79 |
+
* Fixed small bugs
|
80 |
+
|
81 |
= 4.18 =
|
82 |
* Fixed an IE9 bug
|
83 |
|
wpGoogleMaps.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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: 4.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: http://www.wpgmaps.com
|
9 |
*/
|
@@ -28,8 +28,8 @@ $wpgmza_p = false;
|
|
28 |
$wpgmza_g = false;
|
29 |
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
|
30 |
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
|
31 |
-
$wpgmza_version = "4.
|
32 |
-
$wpgmza_p_version = "4.
|
33 |
$wpgmza_t = "basic";
|
34 |
|
35 |
add_action('admin_head', 'wpgmaps_head');
|
@@ -927,14 +927,8 @@ function wpgmaps_head() {
|
|
927 |
|
928 |
global $wpgmza_tblname_maps;
|
929 |
|
930 |
-
if (isset($_POST['wpgmza_savesettings'])) {
|
931 |
-
global $wpdb;
|
932 |
-
|
933 |
-
|
934 |
|
935 |
|
936 |
-
}
|
937 |
-
|
938 |
|
939 |
if (isset($_POST['wpgmza_savemap'])){
|
940 |
global $wpdb;
|
@@ -1164,12 +1158,17 @@ function wpgmaps_settings_page_basic() {
|
|
1164 |
|
1165 |
if (function_exists(wpgmza_register_pro_version)) {
|
1166 |
$pro_settings1 = wpgmaps_settings_page_sub('infowindow');
|
|
|
|
|
|
|
|
|
|
|
1167 |
}
|
1168 |
|
1169 |
echo "
|
1170 |
|
1171 |
<form action='' method='post' id='wpgmaps_options'>
|
1172 |
-
<p
|
1173 |
|
1174 |
$pro_settings1
|
1175 |
<h3>".__("Map Settings")."</h3>
|
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: 4.19
|
7 |
Author: WP Google Maps
|
8 |
Author URI: http://www.wpgmaps.com
|
9 |
*/
|
28 |
$wpgmza_g = false;
|
29 |
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
|
30 |
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
|
31 |
+
$wpgmza_version = "4.19";
|
32 |
+
$wpgmza_p_version = "4.19";
|
33 |
$wpgmza_t = "basic";
|
34 |
|
35 |
add_action('admin_head', 'wpgmaps_head');
|
927 |
|
928 |
global $wpgmza_tblname_maps;
|
929 |
|
|
|
|
|
|
|
|
|
930 |
|
931 |
|
|
|
|
|
932 |
|
933 |
if (isset($_POST['wpgmza_savemap'])){
|
934 |
global $wpdb;
|
1158 |
|
1159 |
if (function_exists(wpgmza_register_pro_version)) {
|
1160 |
$pro_settings1 = wpgmaps_settings_page_sub('infowindow');
|
1161 |
+
$prov = get_option("WPGMZA_PRO");
|
1162 |
+
$wpgmza_pro_version = $prov['version'];
|
1163 |
+
if (floatval($wpgmza_pro_version) < 3.9) {
|
1164 |
+
$prov_msg = "<div class='error below-h1'><p>Please note that these settings will only work with the Pro Addon version 3.9 and above. Your current version is $wpgmza_pro_version. To download the latest version, please email <a href='mailto:nick@wpgmaps.com'>nick@wpgmaps.com</a></p></div>";
|
1165 |
+
}
|
1166 |
}
|
1167 |
|
1168 |
echo "
|
1169 |
|
1170 |
<form action='' method='post' id='wpgmaps_options'>
|
1171 |
+
<p>$prov_msg</p>
|
1172 |
|
1173 |
$pro_settings1
|
1174 |
<h3>".__("Map Settings")."</h3>
|