WP Google Maps - Version 6.0.13

Version Description

  • Fixed PHP warnings and the plugin is now PHP 5.5 compatible
Download this release

Release Info

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

Code changes from version 6.0.12 to 6.0.13

Files changed (2) hide show
  1. readme.txt +11 -73
  2. wpGoogleMaps.php +12 -7
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WP Google Maps ===
2
  Contributors: WPGMaps
3
  Donate link: http://www.wpgmaps.com
4
- Tags: google maps, maps, map, map markers, google, google map, wp maps, wp google maps, wp google map, easy map, store locator, map plugin, directions, map directions, google map plugin, polygons, polylines, streetview, location, marker, latitude, longitude, map sreetview, map routes
5
  Requires at least: 3.5
6
- Tested up to: 3.9
7
  Stable tag: trunk
8
  License: GPLv2
9
 
@@ -39,8 +39,8 @@ The [WP Google Maps Pro Version](http://www.wpgmaps.com/purchase-professional-ve
39
 
40
  = Professional Edition =
41
  * Create multiple Google maps!
42
- * Add descriptions, links and images to your Google Map markers.
43
- * Add categories to your Google map markers
44
  * Mashup multiple Google maps
45
  * Add different marker icons, or your own icons to make your map really stand out!
46
  * Allow your visitors to get directions to your markers.
@@ -49,7 +49,6 @@ The [WP Google Maps Pro Version](http://www.wpgmaps.com/purchase-professional-ve
49
  * Import KML/KMZ files to your Google Map
50
  * WordPress Network friendly
51
  * Get the [WP Google Maps Professional Edition](http://www.wpgmaps.com/purchase-professional-version/) for only $19.99
52
- * Coming soon: WP Google Map Store Locator add-on!
53
 
54
  = Coming Soon =
55
  * Panoramio layer
@@ -63,7 +62,7 @@ The [WP Google Maps Pro Version](http://www.wpgmaps.com/purchase-professional-ve
63
 
64
  == Frequently Asked Questions ==
65
 
66
- = How do I get the WP Google Maps professional edition? =
67
 
68
  Simply visit http://www.wpgmaps.com and purchase the WP Google Maps Professional Edition for $19.99
69
 
@@ -76,27 +75,23 @@ Once installed and activated, a link should appear in your left navigation panel
76
 
77
  1. The "Lite" version of WP Google Maps.
78
  2. The "Pro" version of WP Google Maps.
79
- 3. Pro version: Users can get directions to your Google map markers
80
  4. Pro version: Add custom markers to your Google map
81
  5. Lite version: General settings page
82
  6. Pro version: General settings page
83
- 7. Pro version: Export/Import your Google map markers
84
- 8. Pro version: Advanced Google map options.
85
 
86
  == Upgrade Notice ==
87
 
88
  = 5.05 =
89
  This is a must for users on IIS. Older WP Google Maps versions will not be compatible.
90
 
91
- = 4.14 =
92
- We have updated our Timthumb.php file to the latest version (2.8.5 to 2.8.10) in compliance with new WordPress regulations.
93
-
94
- = 4.5 =
95
- Previous versions may cause your blog to slow down. Upgrading to 4.5 will get rid of this bug and increase your page load speed.
96
-
97
-
98
  == Changelog ==
99
 
 
 
 
100
  = 6.0.12 =
101
  * Fixed a google map marker XML file location bug
102
 
@@ -153,61 +148,4 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
153
  * Fixed the bug that caused high memory usage
154
  * Major bug fixes
155
 
156
- = 5.24 =
157
- * Bug fix - The map style changed the style of your theme.
158
-
159
- = 5.23 =
160
- * Add animations to your map markers (lite)
161
- * Choose to have the infowindow open by default (lite)
162
- * Add the bicycle and traffic layer to your map (lite)
163
- * Substantial coding improvements and bug fixes
164
-
165
- = 5.22 =
166
- * Fixed the marker sort order bug
167
-
168
- = 5.21 =
169
- * Fixed a bug that if clicking the "add maker" button produced an error, the "add marker" button would disappear.
170
-
171
- = 5.20 =
172
- * Categories can now be hidden from the marker list
173
- * German translation added thanks to Matteo Ender
174
-
175
- = 5.19 =
176
- * Fixed a styling bug with Firefox
177
- * Fixed the bug that caused all markers to be lost upon upgrading
178
-
179
- = 5.18 =
180
- * Added improved styling to the address in the map infowindow
181
-
182
- = 5.17 =
183
- * Fixed update bug
184
-
185
- = 5.16 =
186
- * Plugin now checks to see if the Google Maps API is already loaded before trying to load it again
187
- * Fixed some SSL bugs
188
-
189
- = 5.15 =
190
- * Added marker category functionality
191
- * Added Google Map Mashup functionality
192
- * Fixed small bugs
193
- * Added backwards compatibility for older versions of WordPress
194
- * Replaced deprecated WordPress function calls
195
- * Added Spanish translation - Thank you Fernando!
196
-
197
- = 5.14 =
198
- * The map plugin now uses the new media manager
199
- * Fixed some styling conflicts
200
- * Added missing strings to localization
201
- * Updated to the latest Timthumb version
202
-
203
- = 5.13 =
204
- * Fixed a small bug
205
-
206
- = 5.12 =
207
- * Removed deprecated code
208
-
209
- = 5.11 =
210
- * Added SSL bug fixes
211
- * Fixed a bug that wasnt allowing users to edit the exact location
212
-
213
  For more, please view our website.
1
  === WP Google Maps ===
2
  Contributors: WPGMaps
3
  Donate link: http://www.wpgmaps.com
4
+ Tags: google maps, maps, map, map markers, google, google map, wp maps, wp google maps, wp google map, easy map, store locator, map plugin, directions, map directions, google map plugin, polygons, polylines, streetview, location, marker, latitude, longitude
5
  Requires at least: 3.5
6
+ Tested up to: 3.9.1
7
  Stable tag: trunk
8
  License: GPLv2
9
 
39
 
40
  = Professional Edition =
41
  * Create multiple Google maps!
42
+ * Add descriptions, links and images to your map markers.
43
+ * Add categories to your map markers
44
  * Mashup multiple Google maps
45
  * Add different marker icons, or your own icons to make your map really stand out!
46
  * Allow your visitors to get directions to your markers.
49
  * Import KML/KMZ files to your Google Map
50
  * WordPress Network friendly
51
  * Get the [WP Google Maps Professional Edition](http://www.wpgmaps.com/purchase-professional-version/) for only $19.99
 
52
 
53
  = Coming Soon =
54
  * Panoramio layer
62
 
63
  == Frequently Asked Questions ==
64
 
65
+ = How do I get the professional edition? =
66
 
67
  Simply visit http://www.wpgmaps.com and purchase the WP Google Maps Professional Edition for $19.99
68
 
75
 
76
  1. The "Lite" version of WP Google Maps.
77
  2. The "Pro" version of WP Google Maps.
78
+ 3. Pro version: Users can get directions to your map markers
79
  4. Pro version: Add custom markers to your Google map
80
  5. Lite version: General settings page
81
  6. Pro version: General settings page
82
+ 7. Pro version: Export/Import your map markers
83
+ 8. Pro version: Advanced Google maps options.
84
 
85
  == Upgrade Notice ==
86
 
87
  = 5.05 =
88
  This is a must for users on IIS. Older WP Google Maps versions will not be compatible.
89
 
 
 
 
 
 
 
 
90
  == Changelog ==
91
 
92
+ = 6.0.13 =
93
+ * Fixed PHP warnings and the plugin is now PHP 5.5 compatible
94
+
95
  = 6.0.12 =
96
  * Fixed a google map marker XML file location bug
97
 
148
  * Fixed the bug that caused high memory usage
149
  * Major bug fixes
150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  For more, please view our website.
wpGoogleMaps.php CHANGED
@@ -3,12 +3,16 @@
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.0.12
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
10
 
11
  /*
 
 
 
 
12
  * 6.0.12
13
  * Fixed a marker XML file location bug
14
  *
@@ -66,7 +70,7 @@ Author URI: http://www.wpgmaps.com
66
  *
67
  */
68
 
69
- error_reporting(E_ERROR);
70
  global $wpgmza_version;
71
  global $wpgmza_p_version;
72
  global $wpgmza_t;
@@ -99,8 +103,8 @@ $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
99
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
100
  $wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
101
  $wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
102
- $wpgmza_version = "6.0.12";
103
- $wpgmza_p_version = "6.0.12";
104
  $wpgmza_t = "basic";
105
  define("WPGMAPS", $wpgmza_version);
106
  define("WPGMAPS_DIR",plugin_dir_url(__FILE__));
@@ -1944,7 +1948,7 @@ function wpgmaps_sl_user_output_basic($map_id) {
1944
  $ret_msg .= " </div>";
1945
  $ret_msg .= " </div>";
1946
 
1947
- if (function_exists("wpgmza_register_pro_version") && $map_other_settings['store_locator_category'] == "1") {
1948
  $ret_msg .= " <div style=\"display:block; width:".$map_width.$map_width_type."; clear:both; height:auto; overflow:auto; margin-top:10px; margin-bottom:10px; clear:both;\">";
1949
  $ret_msg .= " <div style=\"display:block; float:left; width:150px;\">".__("Category","wp-google-maps").":</div>";
1950
  $ret_msg .= " <div style=\"display:block; float:left; \">";
@@ -3200,6 +3204,7 @@ function wpgmza_basic_menu() {
3200
  <option value=\"px\" $wpgmza_map_width_type_px>px</option>
3201
  <option value=\"%\" $wpgmza_map_width_type_percentage>%</option>
3202
  </select>
 
3203
 
3204
  </td>
3205
  </tr>
@@ -4385,7 +4390,7 @@ function wpgmaps_filter(&$array) {
4385
  if (get_magic_quotes_gpc()) {
4386
  $data = stripslashes($value);
4387
  }
4388
- $data = mysql_real_escape_string($value);
4389
  }
4390
  }
4391
  }
@@ -4482,7 +4487,7 @@ function wpgmza_return_error_log() {
4482
  $ret .= $visits;
4483
  }
4484
  } else {
4485
- $ret .= "There was an error opening the log file. Please make sure it exists";
4486
  }
4487
  return $ret;
4488
 
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.0.13
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
10
 
11
  /*
12
+ * 6.0.13
13
+ * Fixed PHP Warnings
14
+ * Plugin is now PHP 5.5 compatible
15
+ *
16
  * 6.0.12
17
  * Fixed a marker XML file location bug
18
  *
70
  *
71
  */
72
 
73
+ //error_reporting(E_ERROR);
74
  global $wpgmza_version;
75
  global $wpgmza_p_version;
76
  global $wpgmza_t;
103
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
104
  $wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
105
  $wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
106
+ $wpgmza_version = "6.0.13";
107
+ $wpgmza_p_version = "6.0.13";
108
  $wpgmza_t = "basic";
109
  define("WPGMAPS", $wpgmza_version);
110
  define("WPGMAPS_DIR",plugin_dir_url(__FILE__));
1948
  $ret_msg .= " </div>";
1949
  $ret_msg .= " </div>";
1950
 
1951
+ if (function_exists("wpgmza_register_pro_version") && isset($map_other_settings['store_locator_category']) && $map_other_settings['store_locator_category'] == "1") {
1952
  $ret_msg .= " <div style=\"display:block; width:".$map_width.$map_width_type."; clear:both; height:auto; overflow:auto; margin-top:10px; margin-bottom:10px; clear:both;\">";
1953
  $ret_msg .= " <div style=\"display:block; float:left; width:150px;\">".__("Category","wp-google-maps").":</div>";
1954
  $ret_msg .= " <div style=\"display:block; float:left; \">";
3204
  <option value=\"px\" $wpgmza_map_width_type_px>px</option>
3205
  <option value=\"%\" $wpgmza_map_width_type_percentage>%</option>
3206
  </select>
3207
+ <small><em>".__("Set to 100% for a responsive map","wp-google-maps")."</em></small>
3208
 
3209
  </td>
3210
  </tr>
4390
  if (get_magic_quotes_gpc()) {
4391
  $data = stripslashes($value);
4392
  }
4393
+ $data = esc_sql($value);
4394
  }
4395
  }
4396
  }
4487
  $ret .= $visits;
4488
  }
4489
  } else {
4490
+ $ret .= "No errors to report on";
4491
  }
4492
  return $ret;
4493