WP Google Maps - Version 6.0.12

Version Description

  • Fixed a google map marker XML file location bug
Download this release

Release Info

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

Code changes from version 6.0.11 to 6.0.12

Files changed (2) hide show
  1. readme.txt +5 -4
  2. wpGoogleMaps.php +9 -4
readme.txt CHANGED
@@ -1,7 +1,7 @@
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
7
  Stable tag: trunk
@@ -52,8 +52,6 @@ The [WP Google Maps Pro Version](http://www.wpgmaps.com/purchase-professional-ve
52
  * Coming soon: WP Google Map Store Locator add-on!
53
 
54
  = Coming Soon =
55
- * Weather layer
56
- * Transit layer
57
  * Panoramio layer
58
 
59
  == Installation ==
@@ -65,7 +63,7 @@ The [WP Google Maps Pro Version](http://www.wpgmaps.com/purchase-professional-ve
65
 
66
  == Frequently Asked Questions ==
67
 
68
- = How do I get the professional edition? =
69
 
70
  Simply visit http://www.wpgmaps.com and purchase the WP Google Maps Professional Edition for $19.99
71
 
@@ -99,6 +97,9 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
99
 
100
  == Changelog ==
101
 
 
 
 
102
  = 6.0.11 =
103
  * Small bug fix on the WP Google Maps welcome page
104
 
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
52
  * Coming soon: WP Google Map Store Locator add-on!
53
 
54
  = Coming Soon =
 
 
55
  * Panoramio layer
56
 
57
  == Installation ==
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
 
97
 
98
  == Changelog ==
99
 
100
+ = 6.0.12 =
101
+ * Fixed a google map marker XML file location bug
102
+
103
  = 6.0.11 =
104
  * Small bug fix on the WP Google Maps welcome page
105
 
wpGoogleMaps.php CHANGED
@@ -3,12 +3,15 @@
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.11
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
10
 
11
  /*
 
 
 
12
  * 6.0.11
13
  * Small bug fix for the welcome page
14
  *
@@ -96,8 +99,8 @@ $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
96
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
97
  $wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
98
  $wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
99
- $wpgmza_version = "6.0.11";
100
- $wpgmza_p_version = "6.0.11";
101
  $wpgmza_t = "basic";
102
  define("WPGMAPS", $wpgmza_version);
103
  define("WPGMAPS_DIR",plugin_dir_url(__FILE__));
@@ -394,7 +397,9 @@ function wpgmaps_get_marker_url($mapid = false) {
394
  $wurl = $upload_dir['baseurl'].'/wp-google-maps/'.$blog_id."-".$mapid."markers.xml";;
395
  }
396
  else {
397
- $wurl = content_url().'/uploads/wp-google-maps/'.$mapid."markers.xml";;
 
 
398
  }
399
  }
400
 
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
+ *
15
  * 6.0.11
16
  * Small bug fix for the welcome page
17
  *
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__));
397
  $wurl = $upload_dir['baseurl'].'/wp-google-maps/'.$blog_id."-".$mapid."markers.xml";;
398
  }
399
  else {
400
+ $upload_dir = wp_upload_dir();
401
+ $wurl = $upload_dir['baseurl'].'/wp-google-maps/'.$mapid."markers.xml";
402
+
403
  }
404
  }
405