WP Google Maps - Version 5.22

Version Description

  • Tested the plugin on WordPress 3.8
  • Pro fix: HTML can now be added and edited to markers without any problems.
Download this release

Release Info

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

Code changes from version 5.21 to 5.22

Files changed (2) hide show
  1. readme.txt +5 -1
  2. wpGoogleMaps.php +4 -4
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.7.1
7
  Stable tag: trunk
8
  License: GPLv2
9
 
@@ -93,6 +93,10 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
93
 
94
  == Changelog ==
95
 
 
 
 
 
96
  = 5.21 =
97
  * Fixed a bug that if clicking the "add maker" button produced an error, the "add marker" button would disappear.
98
 
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.8
7
  Stable tag: trunk
8
  License: GPLv2
9
 
93
 
94
  == Changelog ==
95
 
96
+ = 5.22 =
97
+ * Tested the plugin on WordPress 3.8
98
+ * Pro fix: HTML can now be added and edited to markers without any problems.
99
+
100
  = 5.21 =
101
  * Fixed a bug that if clicking the "add maker" button produced an error, the "add marker" button would disappear.
102
 
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.21
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.21";
41
- $wpgmza_p_version = "5.21";
42
  $wpgmza_t = "basic";
43
 
44
  add_action('admin_head', 'wpgmaps_head');
@@ -2221,7 +2221,7 @@ function wpgmza_return_marker_list($map_id,$admin = true,$width = "100%",$mashup
2221
  $wpgmza_tmp_body .= "<td>".$result->title."<input type=\"hidden\" id=\"wpgmza_hid_marker_title_".$result->id."\" value=\"".$result->title."\" /></td>";
2222
  $wpgmza_tmp_body .= "<td>".wpgmza_return_category_name($result->category)."<input type=\"hidden\" id=\"wpgmza_hid_marker_category_".$result->id."\" value=\"".$result->category."\" /></td>";
2223
  $wpgmza_tmp_body .= "<td>".$result->address."<input type=\"hidden\" id=\"wpgmza_hid_marker_address_".$result->id."\" value=\"".$result->address."\" /></td>";
2224
- $wpgmza_tmp_body .= "<td>".$result->description."<input type=\"hidden\" id=\"wpgmza_hid_marker_desc_".$result->id."\" value=\"".$result->description."\" /></td>";
2225
  $wpgmza_tmp_body .= "<td>$pic<input type=\"hidden\" id=\"wpgmza_hid_marker_pic_".$result->id."\" value=\"".$result->pic."\" /></td>";
2226
  $wpgmza_tmp_body .= "<td>$linktd<input type=\"hidden\" id=\"wpgmza_hid_marker_link_".$result->id."\" value=\"".$result->link."\" /></td>";
2227
  $wpgmza_tmp_body .= "<td width='170' align='center'>";
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.22
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.22";
41
+ $wpgmza_p_version = "5.22";
42
  $wpgmza_t = "basic";
43
 
44
  add_action('admin_head', 'wpgmaps_head');
2221
  $wpgmza_tmp_body .= "<td>".$result->title."<input type=\"hidden\" id=\"wpgmza_hid_marker_title_".$result->id."\" value=\"".$result->title."\" /></td>";
2222
  $wpgmza_tmp_body .= "<td>".wpgmza_return_category_name($result->category)."<input type=\"hidden\" id=\"wpgmza_hid_marker_category_".$result->id."\" value=\"".$result->category."\" /></td>";
2223
  $wpgmza_tmp_body .= "<td>".$result->address."<input type=\"hidden\" id=\"wpgmza_hid_marker_address_".$result->id."\" value=\"".$result->address."\" /></td>";
2224
+ $wpgmza_tmp_body .= "<td>".$result->description."<input type=\"hidden\" id=\"wpgmza_hid_marker_desc_".$result->id."\" value=\"". htmlspecialchars($result->description)."\" /></td>";
2225
  $wpgmza_tmp_body .= "<td>$pic<input type=\"hidden\" id=\"wpgmza_hid_marker_pic_".$result->id."\" value=\"".$result->pic."\" /></td>";
2226
  $wpgmza_tmp_body .= "<td>$linktd<input type=\"hidden\" id=\"wpgmza_hid_marker_link_".$result->id."\" value=\"".$result->link."\" /></td>";
2227
  $wpgmza_tmp_body .= "<td width='170' align='center'>";