WD Google Maps – Google Maps builder Plugin - Version 1.0.27

Version Description

  • Fixed: Image max_width issue from themes
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Google Maps – Google Maps builder Plugin
Version 1.0.27
Comparing to
See all releases

Code changes from version 1.0.26 to 1.0.27

css/frontend_main.css CHANGED
@@ -260,5 +260,7 @@
260
  }
261
  }
262
 
263
-
 
 
264
 
260
  }
261
  }
262
 
263
+ .gmwd_container_wrapper #gmwd_container_1 img{
264
+ max-width: inherit !important;
265
+ }
266
 
framework/functions.php CHANGED
@@ -2,20 +2,23 @@
2
  // get option function
3
  function gmwd_get_option($option_name){
4
  global $wpdb;
5
- $query = "SELECT * FROM ". $wpdb->prefix . "gmwd_options ";
6
- $rows = $wpdb->get_results($query);
 
 
 
7
 
8
- $options = new stdClass();
9
- foreach ($rows as $row) {
10
- $name = $row->name;
11
- $value = $row->value !== "" ? $row->value : $row->default_value;
12
- $options->$name = $value;
13
- }
14
-
15
- return $options->$option_name;
 
 
16
  }
17
-
18
-
19
  function upgrade_pro($text = false){
20
  ?>
21
  <div class="gmwd_upgrade wd-clear" >
2
  // get option function
3
  function gmwd_get_option($option_name){
4
  global $wpdb;
5
+ $page = isset($_GET["page"]) ? $_GET["page"] : "";
6
+
7
+ if($page == "markers_gmwd" || $page == "circles_gmwd" || $page == "maps_gmwd" || $page == "polygons_gmwd" || $page == "polylines_gmwd" || $page == "rectangles_gmwd" || $page == "markercategories_gmwd" || $page == "themes_gmwd" || $page == "options_gmwd" || $page == "uninstal_gmwd"){
8
+ $query = "SELECT * FROM ". $wpdb->prefix . "gmwd_options ";
9
+ $rows = $wpdb->get_results($query);
10
 
11
+ $options = new stdClass();
12
+ foreach ($rows as $row) {
13
+ $name = $row->name;
14
+ $value = $row->value !== "" ? $row->value : $row->default_value;
15
+ $options->$name = $value;
16
+ }
17
+
18
+ return $options->$option_name;
19
+ }
20
+ return false;
21
  }
 
 
22
  function upgrade_pro($text = false){
23
  ?>
24
  <div class="gmwd_upgrade wd-clear" >
gmwd_admin_class.php CHANGED
@@ -11,7 +11,7 @@ class GMWDAdmin{
11
  // Variables //
12
  ////////////////////////////////////////////////////////////////////////////////////////
13
  protected static $instance = null;
14
- private static $version = '1.0.26';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
@@ -73,8 +73,6 @@ class GMWDAdmin{
73
  }
74
 
75
  if ($version && version_compare(substr($version,2), substr(self::$version,2), '<=')) {
76
- require_once GMWD_DIR . "/update/gmwd_update.php";
77
- gmwd_update();
78
  update_option("gmwd_version", self::$version);
79
  }
80
  else {
@@ -83,7 +81,9 @@ class GMWDAdmin{
83
 
84
  add_option('gmwd_do_activation_set_up_redirect', 1);
85
  add_option('gmwd_download_markers', 0);
86
-
 
 
87
  }
88
 
89
 
11
  // Variables //
12
  ////////////////////////////////////////////////////////////////////////////////////////
13
  protected static $instance = null;
14
+ private static $version = '1.0.27';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
73
  }
74
 
75
  if ($version && version_compare(substr($version,2), substr(self::$version,2), '<=')) {
 
 
76
  update_option("gmwd_version", self::$version);
77
  }
78
  else {
81
 
82
  add_option('gmwd_do_activation_set_up_redirect', 1);
83
  add_option('gmwd_download_markers', 0);
84
+
85
+ require_once GMWD_DIR . "/update/gmwd_update.php";
86
+ gmwd_update();
87
  }
88
 
89
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
4
  Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
5
  Requires at least: 3.4
6
- Tested up to: 4.6
7
- Stable tag: 1.0.26
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -113,8 +113,11 @@ After downloading the ZIP file of the Google Maps WD plugin,
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = 1.0.26 =
117
- Added: Option to show categories on Store Locator
118
 
119
  = 1.0.25 =
120
  * Fixed: Minor bugs
3
  Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
4
  Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
5
  Requires at least: 3.4
6
+ Tested up to: 4.7
7
+ Stable tag: 1.0.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
113
 
114
  == Changelog ==
115
 
116
+ = 1.0.27 =
117
+ * Fixed: Image max_width issue from themes
118
+
119
  = 1.0.26 =
120
+ * Added: Option to show categories on Store Locator
121
 
122
  = 1.0.25 =
123
  * Fixed: Minor bugs
wd-google-maps.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Google Maps WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
6
  * Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
7
- * Version: 1.0.26
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
4
  * Plugin Name: Google Maps WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
6
  * Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
7
+ * Version: 1.0.27
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html