Version Description
- Changed: Addons menu to submenu
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.0.51 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.50 to 1.0.51
- gmwd_admin_class.php +7 -4
- readme.txt +4 -1
- wd-google-maps.php +1 -1
gmwd_admin_class.php
CHANGED
|
@@ -12,17 +12,18 @@ class GMWDAdmin
|
|
| 12 |
// Variables //
|
| 13 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 14 |
protected static $instance = null;
|
| 15 |
-
private static $version = '1.0.
|
| 16 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 17 |
// Constructor & Destructor //
|
| 18 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 19 |
public function __construct()
|
| 20 |
{
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
// Includes
|
| 23 |
add_action('init', array($this, 'gmwd_includes'));
|
| 24 |
|
| 25 |
-
|
| 26 |
// Add menu
|
| 27 |
add_action('admin_menu', array($this, 'gmwd_options_panel'), 9);
|
| 28 |
//add_action('admin_init', array($this,'setup_redirect'));
|
|
@@ -116,6 +117,8 @@ class GMWDAdmin
|
|
| 116 |
require_once GMWD_DIR . "/update/gmwd_update.php";
|
| 117 |
gmwd_update();
|
| 118 |
|
|
|
|
|
|
|
| 119 |
}
|
| 120 |
|
| 121 |
public static function new_blog_added($blog_id)
|
|
@@ -205,7 +208,7 @@ class GMWDAdmin
|
|
| 205 |
|
| 206 |
$gmwd_uninstall_page = add_submenu_page($parent_slug, __('Uninstall', 'gmwd'), __('Uninstall', 'gmwd'), 'manage_options', 'uninstall_gmwd', array($this, 'gmwd'));
|
| 207 |
|
| 208 |
-
|
| 209 |
|
| 210 |
}
|
| 211 |
|
| 12 |
// Variables //
|
| 13 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 14 |
protected static $instance = null;
|
| 15 |
+
private static $version = '1.0.51';
|
| 16 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 17 |
// Constructor & Destructor //
|
| 18 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 19 |
public function __construct()
|
| 20 |
{
|
| 21 |
+
if( !get_site_option("gmwd_created_tables") ){
|
| 22 |
+
self::activate();
|
| 23 |
+
}
|
| 24 |
// Includes
|
| 25 |
add_action('init', array($this, 'gmwd_includes'));
|
| 26 |
|
|
|
|
| 27 |
// Add menu
|
| 28 |
add_action('admin_menu', array($this, 'gmwd_options_panel'), 9);
|
| 29 |
//add_action('admin_init', array($this,'setup_redirect'));
|
| 117 |
require_once GMWD_DIR . "/update/gmwd_update.php";
|
| 118 |
gmwd_update();
|
| 119 |
|
| 120 |
+
add_site_option("gmwd_created_tables", 1);
|
| 121 |
+
|
| 122 |
}
|
| 123 |
|
| 124 |
public static function new_blog_added($blog_id)
|
| 208 |
|
| 209 |
$gmwd_uninstall_page = add_submenu_page($parent_slug, __('Uninstall', 'gmwd'), __('Uninstall', 'gmwd'), 'manage_options', 'uninstall_gmwd', array($this, 'gmwd'));
|
| 210 |
|
| 211 |
+
add_submenu_page('maps_gmwd', __('Google Maps WD Add-ons', 'gmwd'), __('Google Maps WD Add-ons', 'gmwd'), 'manage_options', 'gmwd_addons', array($this, "gmwd_addons"));
|
| 212 |
|
| 213 |
}
|
| 214 |
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport
|
|
| 3 |
Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, wp google map, wp google maps, google map widget
|
| 4 |
Requires at least: 3.4
|
| 5 |
Tested up to: 4.9
|
| 6 |
-
Stable tag: 1.0.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -144,6 +144,9 @@ Activate WD Google Maps by going to Plugins and pressing Activate button.
|
|
| 144 |
|
| 145 |
== Changelog ==
|
| 146 |
|
|
|
|
|
|
|
|
|
|
| 147 |
= 1.0.50 =
|
| 148 |
* Changed : Deactivation popup.
|
| 149 |
* Added : Support forum link.
|
| 3 |
Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, wp google map, wp google maps, google map widget
|
| 4 |
Requires at least: 3.4
|
| 5 |
Tested up to: 4.9
|
| 6 |
+
Stable tag: 1.0.51
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 144 |
|
| 145 |
== Changelog ==
|
| 146 |
|
| 147 |
+
= 1.0.51 =
|
| 148 |
+
* Changed: Addons menu to submenu
|
| 149 |
+
|
| 150 |
= 1.0.50 =
|
| 151 |
* Changed : Deactivation popup.
|
| 152 |
* Added : Support forum link.
|
wd-google-maps.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: WD Google Maps
|
| 5 |
* Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
| 6 |
* Description: WD Google Maps is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
| 7 |
-
* Version: 1.0.
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 4 |
* Plugin Name: WD Google Maps
|
| 5 |
* Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
| 6 |
* Description: WD Google Maps is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
| 7 |
+
* Version: 1.0.51
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
