WP Google Maps - Version 5.18

Version Description

  • Added improved styling to the address in the map infowindow
Download this release

Release Info

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

Code changes from version 5.17 to 5.18

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wpGoogleMaps.php +6 -6
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.5.2
7
  Stable tag: trunk
8
  License: GPLv2
9
 
@@ -85,6 +85,9 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
85
 
86
  == Changelog ==
87
 
 
 
 
88
  = 5.17 =
89
  * Fixed update bug
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
7
  Stable tag: trunk
8
  License: GPLv2
9
 
85
 
86
  == Changelog ==
87
 
88
+ = 5.18 =
89
+ * Added improved styling to the address in the map infowindow
90
+
91
  = 5.17 =
92
  * Fixed update bug
93
 
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.17
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.17";
41
- $wpgmza_p_version = "5.17";
42
  $wpgmza_t = "basic";
43
 
44
  add_action('admin_head', 'wpgmaps_head');
@@ -599,7 +599,7 @@ function wpgmaps_admin_javascript_basic() {
599
 
600
  });
601
 
602
- var html='<strong>'+wpmgza_address+'</strong>';
603
 
604
  google.maps.event.addListener(marker, 'click', function() {
605
  infoWindow.close();
@@ -751,7 +751,7 @@ function wpgmaps_user_javascript_basic() {
751
  position: point,
752
  map: MYMAP.map
753
  });
754
- var html='<strong>'+wpmgza_address+'</strong>';
755
 
756
  google.maps.event.addListener(marker, 'click', function(evt) {
757
  infoWindow.close();
@@ -1348,7 +1348,7 @@ function wpgmaps_menu_layout() {
1348
  wpgmza_map_page();
1349
 
1350
  } else {
1351
- echo"<br /><div style='float:right; display:block; width:250px; height:36px; padding:6px; text-align:center; background-color: #EEE; border: 1px solid #E6DB55; margin-right:17px;'><strong>".__("Experiencing problems with the plugin?","wp-google-maps")."</strong><br /><a href='http://www.wpgmaps.com/documentation/troubleshooting/' title='WP Google Maps Troubleshooting Section' target='_BLANK'>".__("See the troubleshooting manual.","wp-google-maps")."</a></div>";
1352
 
1353
 
1354
  if ($_GET['action'] == "trash" && isset($_GET['map_id'])) {
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
  $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');
599
 
600
  });
601
 
602
+ 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>';
603
 
604
  google.maps.event.addListener(marker, 'click', function() {
605
  infoWindow.close();
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();
1348
  wpgmza_map_page();
1349
 
1350
  } else {
1351
+ echo"<br /><div style='float:right; display:block; width:250px; height:45px; padding:6px; text-align:center; background-color: #EEE; border: 1px solid #E6DB55; margin-right:17px;'><strong>".__("Experiencing problems with the plugin?","wp-google-maps")."</strong><br /><a href='http://www.wpgmaps.com/documentation/troubleshooting/' title='WP Google Maps Troubleshooting Section' target='_BLANK'>".__("See the troubleshooting manual.","wp-google-maps")."</a> <br />".__("Or ask a question on our ","wp-google-maps")." <a href='http://www.wpgmaps.com/forums/forum/support-forum/' title='WP Google Maps Support Forum' target='_BLANK'>".__("Support forum.","wp-google-maps")."</a></div>";
1352
 
1353
 
1354
  if ($_GET['action'] == "trash" && isset($_GET['map_id'])) {