WP Google Maps - Version 7.10.16

Version Description

= 6.3.15 = Please update your WP Google Maps version to 6.3.15 to ensure you are using the latest security enhancements.

= 6.3.14 = Please update your WP Google Maps version to 6.3.14 to ensure you are using the latest security enhancements.

= 6.2.1 = Please update your WP Google Maps version to 6.2.1 to ensure you are using the latest security enhancements.

= 6.1.10 = Please update WP Google Maps to version 6.1.10 to enable our latest security enhancements.

= 6.1.5 = We no longer support timthumb and we have opted to remove it from WP Google Maps. Please update to 6.1.5 to ensure the removal of the timthumb script.

= 6.0.27 = Please upgrade your version of WP Google Maps to version 6.0.27 as it includes multiple security improvements.

Download this release

Release Info

Developer perryrylance
Plugin Icon 128x128 WP Google Maps
Version 7.10.16
Comparing to
See all releases

Code changes from version 7.10.15 to 7.10.16

Files changed (1) hide show
  1. wpGoogleMaps.php +15 -9
wpGoogleMaps.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Google Maps
4
  Plugin URI: https://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: 7.10.15
7
  Author: WP Google Maps
8
  Author URI: https://www.wpgmaps.com
9
  Text Domain: wp-google-maps
@@ -11,6 +11,10 @@ Domain Path: /languages
11
  */
12
 
13
  /*
 
 
 
 
14
  * 7.10.15 - 2018-06-14 :- Medium priority
15
  * Fixed GDPR consent notice bypassed when "prevent other plugins and theme enqueueing maps API" is not set
16
  *
@@ -488,7 +492,7 @@ $wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
488
 
489
  $subject = file_get_contents(__FILE__);
490
  if(preg_match('/Version:\s*(.+)/', $subject, $m))
491
- $wpgmza_version = $m[1];
492
 
493
  define('WPGMZA_VERSION', $wpgmza_version);
494
  define("WPGMAPS", $wpgmza_version);
@@ -577,14 +581,16 @@ function wpgmaps_activate() {
577
 
578
  $wpgmza_data = get_option("WPGMZA");
579
 
580
- if($wpgmza)
581
- return;
 
 
 
 
 
 
 
582
 
583
- $other_settings = array();
584
- $other_settings['wpgmza_settings_map_streetview'] = "yes";
585
- $other_settings['wpgmza_settings_map_zoom'] = "yes";
586
- $other_settings['wpgmza_settings_map_pan'] = "yes";
587
- $other_settings['wpgmza_settings_map_type'] = "yes";
588
  update_option('WPGMZA_OTHER_SETTINGS', $other_settings);
589
 
590
  update_option("wpgmza_temp_api",'AIzaSyChPphumyabdfggISDNBuGOlGVBgEvZnGE');
3
  Plugin Name: WP Google Maps
4
  Plugin URI: https://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: 7.10.16
7
  Author: WP Google Maps
8
  Author URI: https://www.wpgmaps.com
9
  Text Domain: wp-google-maps
11
  */
12
 
13
  /*
14
+ * 7.10.16 - 2018-06-21 :- Medium priority
15
+ * Fixed global settings lost
16
+ * Fixed whitespace matched in version variable
17
+ *
18
  * 7.10.15 - 2018-06-14 :- Medium priority
19
  * Fixed GDPR consent notice bypassed when "prevent other plugins and theme enqueueing maps API" is not set
20
  *
492
 
493
  $subject = file_get_contents(__FILE__);
494
  if(preg_match('/Version:\s*(.+)/', $subject, $m))
495
+ $wpgmza_version = trim($m[1]);
496
 
497
  define('WPGMZA_VERSION', $wpgmza_version);
498
  define("WPGMAPS", $wpgmza_version);
581
 
582
  $wpgmza_data = get_option("WPGMZA");
583
 
584
+ $other_settings = get_option('WPGMZA_OTHER_SETTINGS');
585
+
586
+ if(empty($other_settings))
587
+ $other_settings = array(
588
+ 'wpgmza_settings_map_streetview' => 'yes',
589
+ 'wpgmza_settings_map_zoom' => 'yes',
590
+ 'wpgmza_settings_map_pan' => 'yes',
591
+ 'wpgmza_settings_map_type' => 'yes'
592
+ );
593
 
 
 
 
 
 
594
  update_option('WPGMZA_OTHER_SETTINGS', $other_settings);
595
 
596
  update_option("wpgmza_temp_api",'AIzaSyChPphumyabdfggISDNBuGOlGVBgEvZnGE');