WP Google Maps - Version 5.19

Version Description

  • Fixed a styling bug with Firefox
  • Fixed the bug that caused all markers to be lost upon upgrading the plugin
Download this release

Release Info

Developer WPGMaps
Plugin Icon 128x128 WP Google Maps
Version 5.19
Comparing to
See all releases

Code changes from version 5.18 to 5.19

Files changed (2) hide show
  1. readme.txt +6 -2
  2. wpGoogleMaps.php +8 -8
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WPGMaps
3
  Donate link: http://www.wpgmaps.com
4
  Tags: google maps, maps, map, map markers, google, google map, maps api, wp maps, wp google maps, easy map
5
  Requires at least: 3.4
6
- Tested up to: 3.6
7
  Stable tag: trunk
8
  License: GPLv2
9
 
@@ -37,7 +37,7 @@ The easiest to use google maps plugin! Create custom maps with high quality mark
37
  * Add different marker icons, or your own icons to make your map really stand out!
38
  * Add animations to your markers and let them stand out!
39
  * Allow your visitors to get directions to your markers.
40
- * Add polygons and polylines to your map
41
  * Export your markers to a CSV file for quick editing.
42
  * WordPress MU friendly
43
  * Get the [WP Google Maps Professional Edition](http://www.wpgmaps.com/) for only $14.99
@@ -85,6 +85,10 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
85
 
86
  == Changelog ==
87
 
 
 
 
 
88
  = 5.18 =
89
  * Added improved styling to the address in the map infowindow
90
 
3
  Donate link: http://www.wpgmaps.com
4
  Tags: google maps, maps, map, map markers, google, google map, maps api, wp maps, wp google maps, easy map
5
  Requires at least: 3.4
6
+ Tested up to: 3.6.1
7
  Stable tag: trunk
8
  License: GPLv2
9
 
37
  * Add different marker icons, or your own icons to make your map really stand out!
38
  * Add animations to your markers and let them stand out!
39
  * Allow your visitors to get directions to your markers.
40
+ * Add polygons and polylines to your Google map
41
  * Export your markers to a CSV file for quick editing.
42
  * WordPress MU friendly
43
  * Get the [WP Google Maps Professional Edition](http://www.wpgmaps.com/) for only $14.99
85
 
86
  == Changelog ==
87
 
88
+ = 5.19 =
89
+ * Fixed a styling bug with Firefox
90
+ * Fixed the bug that caused all markers to be lost upon upgrading the plugin
91
+
92
  = 5.18 =
93
  * Added improved styling to the address in the map infowindow
94
 
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: 5.18
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
@@ -37,8 +37,8 @@ $wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
37
  $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
38
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
39
  $wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
40
- $wpgmza_version = "5.18";
41
- $wpgmza_p_version = "5.18";
42
  $wpgmza_t = "basic";
43
 
44
  add_action('admin_head', 'wpgmaps_head');
@@ -576,7 +576,7 @@ function wpgmaps_admin_javascript_basic() {
576
  <?php
577
  $wpgmza_settings = get_option("WPGMZA_OTHER_SETTINGS");
578
  $wpgmza_settings_infowindow_width = $wpgmza_settings['wpgmza_settings_infowindow_width'];
579
- if (!$wpgmza_settings_infowindow_width || !isset($wpgmza_settings_infowindow_width)) { $wpgmza_settings_infowindow_width = "200"; }
580
  ?>
581
  infoWindow.setOptions({maxWidth:<?php echo $wpgmza_settings_infowindow_width; ?>});
582
 
@@ -751,7 +751,7 @@ function wpgmaps_user_javascript_basic() {
751
  position: point,
752
  map: MYMAP.map
753
  });
754
- var html='<p class="wpgmza_infowinfow_address" style="margin-top:0; padding-top:0; margin-bottom:2px; padding-bottom:2px; font-weight:bold;">'+wpmgza_address+'</p>';
755
 
756
  google.maps.event.addListener(marker, 'click', function(evt) {
757
  infoWindow.close();
@@ -1991,7 +1991,7 @@ function wpgmza_basic_menu() {
1991
  <table>
1992
  <tr>
1993
  <td><img src=\"".wpgmaps_get_plugin_url()."/images/New1.JPG\" width=\"260\" style=\"border:3px solid #808080;\" title=\"".__("Add detailed information to your markers!")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
1994
- <td valign=\"middle\"><span style=\"font-size:18px; color:#666;\">".__("Add Polyline and routes to your maps for only","wp-google-maps")." <strong>$14.99</strong>. ".__("Click","wp-google-maps")." <a href=\"http://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=polyline\" title=\"Pro Edition\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
1995
  </tr>
1996
  </table>
1997
  </div>
@@ -2408,8 +2408,8 @@ function wpgmaps_update_db_check() {
2408
  wpgmaps_handle_db();
2409
  }
2410
 
2411
- // create all XML files
2412
- //wpgmaps_update_all_xml_file();
2413
  }
2414
 
2415
 
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: 5.19
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
37
  $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
38
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
39
  $wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
40
+ $wpgmza_version = "5.19";
41
+ $wpgmza_p_version = "5.19";
42
  $wpgmza_t = "basic";
43
 
44
  add_action('admin_head', 'wpgmaps_head');
576
  <?php
577
  $wpgmza_settings = get_option("WPGMZA_OTHER_SETTINGS");
578
  $wpgmza_settings_infowindow_width = $wpgmza_settings['wpgmza_settings_infowindow_width'];
579
+ if (!$wpgmza_settings_infowindow_width || !isset($wpgmza_settings_infowindow_width)) { $wpgmza_settings_infowindow_width = "300"; }
580
  ?>
581
  infoWindow.setOptions({maxWidth:<?php echo $wpgmza_settings_infowindow_width; ?>});
582
 
751
  position: point,
752
  map: MYMAP.map
753
  });
754
+ var html=''+wpmgza_address+'';
755
 
756
  google.maps.event.addListener(marker, 'click', function(evt) {
757
  infoWindow.close();
1991
  <table>
1992
  <tr>
1993
  <td><img src=\"".wpgmaps_get_plugin_url()."/images/New1.JPG\" width=\"260\" style=\"border:3px solid #808080;\" title=\"".__("Add detailed information to your markers!")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
1994
+ <td valign=\"middle\"><span style=\"font-size:18px; color:#666;\">".__("Add Polylines and routes to your maps for only","wp-google-maps")." <strong>$14.99</strong>. ".__("Click","wp-google-maps")." <a href=\"http://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=polyline\" title=\"Pro Edition\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
1995
  </tr>
1996
  </table>
1997
  </div>
2408
  wpgmaps_handle_db();
2409
  }
2410
 
2411
+ //create all XML files
2412
+ wpgmaps_update_all_xml_file();
2413
  }
2414
 
2415