Version Description
- 2020/09/16
- minor fixes
Download this release
Release Info
| Developer | WebFactory |
| Plugin | |
| Version | 4.18 |
| Comparing to | |
| See all releases | |
Code changes from version 4.17 to 4.18
- css/gmw-admin.css +1 -1
- css/gmw.css +1 -1
- gmw-widget.php +3 -3
- google-maps-widget.php +14 -14
- js/gmw-admin-plugins.js +1 -1
- js/gmw-admin-pointers.js +1 -1
- js/gmw-admin.js +1 -1
- readme.txt +8 -4
css/gmw-admin.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
-
* (c) Web factory Ltd, 2012 -
|
| 4 |
*/
|
| 5 |
|
| 6 |
@import url(//fonts.googleapis.com/css?family=RobotoDraft:regular,bold,italic,thin,light&lang=en);
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
+
* (c) Web factory Ltd, 2012 - 2020
|
| 4 |
*/
|
| 5 |
|
| 6 |
@import url(//fonts.googleapis.com/css?family=RobotoDraft:regular,bold,italic,thin,light&lang=en);
|
css/gmw.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
-
* (c) Web factory Ltd, 2012 -
|
| 4 |
*/
|
| 5 |
|
| 6 |
.gmw-header, .gmw-footer {
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
+
* (c) Web factory Ltd, 2012 - 2020
|
| 4 |
*/
|
| 5 |
|
| 6 |
.gmw-header, .gmw-footer {
|
gmw-widget.php
CHANGED
|
@@ -213,9 +213,9 @@ class GoogleMapsWidget extends WP_Widget {
|
|
| 213 |
return true;
|
| 214 |
} // is_activated
|
| 215 |
|
| 216 |
-
// upgrade ad
|
| 217 |
-
if (!GMW::is_activated()
|
| 218 |
-
echo '<p class="gmw-upgrade-notice-widget">
|
| 219 |
}
|
| 220 |
|
| 221 |
// api key warning
|
| 213 |
return true;
|
| 214 |
} // is_activated
|
| 215 |
|
| 216 |
+
// upgrade ad
|
| 217 |
+
if (!GMW::is_activated()) {
|
| 218 |
+
echo '<p class="gmw-upgrade-notice-widget">Grab our <a class="open_promo_dialog" href="#">limited offer</a>: a <b>one time payment</b>, lifetime license for <b>only $39</b>! No recurring charges! <a class="open_promo_dialog" href="#">Upgrade now</a> to <span class="gmw-pro-red">PRO</span> & get more than 50 extra features.</p>';
|
| 219 |
}
|
| 220 |
|
| 221 |
// api key warning
|
google-maps-widget.php
CHANGED
|
@@ -4,12 +4,12 @@ Plugin Name: Maps Widget for Google Maps
|
|
| 4 |
Plugin URI: https://www.gmapswidget.com/
|
| 5 |
Description: Display a single image super-fast loading Google Map in a widget. A larger, full featured map is available in a lightbox. Includes a user-friendly interface and numerous appearance options.
|
| 6 |
Author: WebFactory Ltd
|
| 7 |
-
Version: 4.
|
| 8 |
Author URI: https://www.gmapswidget.com/
|
| 9 |
Text Domain: google-maps-widget
|
| 10 |
Domain Path: lang
|
| 11 |
|
| 12 |
-
Copyright 2012 -
|
| 13 |
|
| 14 |
This program is free software; you can redistribute it and/or modify
|
| 15 |
it under the terms of the GNU General Public License, version 2, as
|
|
@@ -552,8 +552,8 @@ class GMW {
|
|
| 552 |
$h = '';
|
| 553 |
}
|
| 554 |
$min = $delta / 60 % 60;
|
| 555 |
-
echo '<p>We\'ve prepared a special <b>
|
| 556 |
-
echo '<p><a href="' . esc_url($activate_url) . '" style="vertical-align: baseline; margin-top: 15px;" class="button-primary"><b>Get a lifetime PRO license now for only $
|
| 557 |
} else {
|
| 558 |
echo '<p><a href="' . esc_url($activate_url) . '" style="vertical-align: baseline; margin-top: 15px;" class="button-primary">' . __('See what PRO has to offer', 'google-maps-widget') . '</a>';
|
| 559 |
}
|
|
@@ -570,7 +570,7 @@ class GMW {
|
|
| 570 |
$dismiss_url = add_query_arg(array('action' => 'gmw_dismiss_notice', 'notice' => 'olduser', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
|
| 571 |
|
| 572 |
echo '<div class="updated notice">';
|
| 573 |
-
echo '<p style="font-size: 14px;">We have a <a class="open_promo_dialog" href="' . $activate_url . '">special offer</a> only for users like <b>you</b> who\'ve been using Maps Widget for Google Maps for a while: a <b>one time payment</b>, lifetime license for <b>only $
|
| 574 |
|
| 575 |
echo '<a class="open_promo_dialog button button-primary" href="' . $activate_url . '"><b>Grab the limited offer!</b></a> <a href="' . esc_url($dismiss_url) . '" style="margin: 3px 0 0 5px; display: inline-block;">' . __('I\'m not interested (remove notice)', 'google-maps-widget') . '</a>';
|
| 576 |
echo '</p></div>';
|
|
@@ -668,7 +668,7 @@ class GMW {
|
|
| 668 |
|
| 669 |
|
| 670 |
$pointers = get_transient('gmw_pointers');
|
| 671 |
-
if ($pointers && !GMW::is_plugin_admin_page('widgets')) {
|
| 672 |
$pointers['_nonce_dismiss_pointer'] = wp_create_nonce('gmw_dismiss_pointer');
|
| 673 |
wp_enqueue_script('wp-pointer');
|
| 674 |
wp_enqueue_script('gmw-pointers', plugins_url('js/gmw-admin-pointers.js', __FILE__), array('jquery'), self::$version, true);
|
|
@@ -799,7 +799,7 @@ class GMW {
|
|
| 799 |
$delta = $options['first_install_gmt'] + $promo_delta - time();
|
| 800 |
$h = $delta / 3600 % 24;
|
| 801 |
$min = $delta / 60 % 60;
|
| 802 |
-
$out .= '<div class="gmw-discount">We\'ve prepared a special <b>
|
| 803 |
}
|
| 804 |
$out .= '</div>'; // header
|
| 805 |
|
|
@@ -817,7 +817,7 @@ class GMW {
|
|
| 817 |
$out .= '</tr>';
|
| 818 |
$out .= '<tr>';
|
| 819 |
$out .= '<td>Unlimited Client & Personal Sites</td>';
|
| 820 |
-
$out .= '<td><span class="dashicons dashicons-yes"></span>
|
| 821 |
$out .= '<td>1 Personal or Client Site</td>';
|
| 822 |
$out .= '</tr>';
|
| 823 |
$out .= '<tr>';
|
|
@@ -832,7 +832,7 @@ class GMW {
|
|
| 832 |
$out .= '</tr>';
|
| 833 |
$out .= '<tr>';
|
| 834 |
$out .= '<td>';
|
| 835 |
-
if ($promo_active) {
|
| 836 |
$out .= '<div class="gmw-promo-button gmw-promo-button-extra"><a href="https://gum.co/gmw-pro-agency/welcome?wanted=true&plugin_info=GMW+v' . GMW::$version . '" target="_blank" data-gumroad-single-product="true">only <strike>$79</strike> $54</a><span>discount: 32%</span></div>';
|
| 837 |
} else {
|
| 838 |
$out .= '<div class="gmw-promo-button"><a href="https://gum.co/gmw-pro-agency?wanted=true&plugin_info=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank" data-gumroad-single-product="true">BUY $79</a></div>';
|
|
@@ -840,16 +840,16 @@ class GMW {
|
|
| 840 |
$out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
|
| 841 |
$out .= '</td>';
|
| 842 |
$out .= '<td>';
|
| 843 |
-
if ($promo_active) {
|
| 844 |
-
$out .= '<div class="gmw-promo-button gmw-promo-button-extra"><a href="https://gum.co/gmw-pro/
|
| 845 |
} elseif ($promo_active2) {
|
| 846 |
-
$out .= '<div class="gmw-promo-button gmw-promo-button-extra"><a href="https://gum.co/gmw-pro/olduser4?wanted=true&plugin_info=GMW+v' . GMW::$version . '" target="_blank" data-gumroad-single-product="true">only <strike>$
|
| 847 |
} else {
|
| 848 |
-
$out .= '<div class="gmw-promo-button"><a href="https://gum.co/gmw-pro?wanted=true&plugin_info=GMW+v' . GMW::$version . '" data-noprevent="1" data-gumroad-single-product="true" target="_blank">BUY $
|
| 849 |
}
|
| 850 |
$out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
|
| 851 |
$out .= '</td>';
|
| 852 |
-
$out .= '<td><div class="gmw-promo-button"><a href="https://gum.co/gmw-yearly?wanted=false&yearly=true&plugin_info=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank" data-gumroad-single-product="true">$
|
| 853 |
$out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
|
| 854 |
$out .= '</td>';
|
| 855 |
$out .= '</tr>';
|
| 4 |
Plugin URI: https://www.gmapswidget.com/
|
| 5 |
Description: Display a single image super-fast loading Google Map in a widget. A larger, full featured map is available in a lightbox. Includes a user-friendly interface and numerous appearance options.
|
| 6 |
Author: WebFactory Ltd
|
| 7 |
+
Version: 4.18
|
| 8 |
Author URI: https://www.gmapswidget.com/
|
| 9 |
Text Domain: google-maps-widget
|
| 10 |
Domain Path: lang
|
| 11 |
|
| 12 |
+
Copyright 2012 - 2020 Web factory Ltd (email : gmw@webfactoryltd.com)
|
| 13 |
|
| 14 |
This program is free software; you can redistribute it and/or modify
|
| 15 |
it under the terms of the GNU General Public License, version 2, as
|
| 552 |
$h = '';
|
| 553 |
}
|
| 554 |
$min = $delta / 60 % 60;
|
| 555 |
+
echo '<p>We\'ve prepared a special <b>20% welcoming discount</b> available only for another <b class="gmw-countdown" data-endtime="' . ($options['first_install_gmt'] + $promo_delta) . '" style="font-weight: bold;">' . $h . ' ' . $min . 'min</b>.</p>';
|
| 556 |
+
echo '<p><a href="' . esc_url($activate_url) . '" style="vertical-align: baseline; margin-top: 15px;" class="button-primary"><b>Get a lifetime PRO license now for only $39 - LIMITED OFFER!</b></a>';
|
| 557 |
} else {
|
| 558 |
echo '<p><a href="' . esc_url($activate_url) . '" style="vertical-align: baseline; margin-top: 15px;" class="button-primary">' . __('See what PRO has to offer', 'google-maps-widget') . '</a>';
|
| 559 |
}
|
| 570 |
$dismiss_url = add_query_arg(array('action' => 'gmw_dismiss_notice', 'notice' => 'olduser', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
|
| 571 |
|
| 572 |
echo '<div class="updated notice">';
|
| 573 |
+
echo '<p style="font-size: 14px;">We have a <a class="open_promo_dialog" href="' . $activate_url . '">special offer</a> only for users like <b>you</b> who\'ve been using Maps Widget for Google Maps for a while: a <b>one time payment</b>, lifetime license for <b>only $39</b>! No nonsense!<br><a class="open_promo_dialog" href="' . $activate_url . '">Upgrade now</a> to <span class="gmw-pro-red">PRO</span> & get more than 50 extra options & features.</p><br>';
|
| 574 |
|
| 575 |
echo '<a class="open_promo_dialog button button-primary" href="' . $activate_url . '"><b>Grab the limited offer!</b></a> <a href="' . esc_url($dismiss_url) . '" style="margin: 3px 0 0 5px; display: inline-block;">' . __('I\'m not interested (remove notice)', 'google-maps-widget') . '</a>';
|
| 576 |
echo '</p></div>';
|
| 668 |
|
| 669 |
|
| 670 |
$pointers = get_transient('gmw_pointers');
|
| 671 |
+
if ($pointers && !GMW::is_plugin_admin_page('widgets') && !GMW::is_plugin_admin_page('settings')) {
|
| 672 |
$pointers['_nonce_dismiss_pointer'] = wp_create_nonce('gmw_dismiss_pointer');
|
| 673 |
wp_enqueue_script('wp-pointer');
|
| 674 |
wp_enqueue_script('gmw-pointers', plugins_url('js/gmw-admin-pointers.js', __FILE__), array('jquery'), self::$version, true);
|
| 799 |
$delta = $options['first_install_gmt'] + $promo_delta - time();
|
| 800 |
$h = $delta / 3600 % 24;
|
| 801 |
$min = $delta / 60 % 60;
|
| 802 |
+
$out .= '<div class="gmw-discount">We\'ve prepared a special <b>20% welcoming discount</b> available only for another <b class="gmw-countdown" data-endtime="' . ($options['first_install_gmt'] + $promo_delta) . '">' . $h . 'h ' . $min . 'min 0sec</b>. Discounts have been applied on the licenses below.</div>';
|
| 803 |
}
|
| 804 |
$out .= '</div>'; // header
|
| 805 |
|
| 817 |
$out .= '</tr>';
|
| 818 |
$out .= '<tr>';
|
| 819 |
$out .= '<td>Unlimited Client & Personal Sites</td>';
|
| 820 |
+
$out .= '<td><span class="dashicons dashicons-yes"></span> 1 Personal Site</td>';
|
| 821 |
$out .= '<td>1 Personal or Client Site</td>';
|
| 822 |
$out .= '</tr>';
|
| 823 |
$out .= '<tr>';
|
| 832 |
$out .= '</tr>';
|
| 833 |
$out .= '<tr>';
|
| 834 |
$out .= '<td>';
|
| 835 |
+
if (1 || $promo_active) {
|
| 836 |
$out .= '<div class="gmw-promo-button gmw-promo-button-extra"><a href="https://gum.co/gmw-pro-agency/welcome?wanted=true&plugin_info=GMW+v' . GMW::$version . '" target="_blank" data-gumroad-single-product="true">only <strike>$79</strike> $54</a><span>discount: 32%</span></div>';
|
| 837 |
} else {
|
| 838 |
$out .= '<div class="gmw-promo-button"><a href="https://gum.co/gmw-pro-agency?wanted=true&plugin_info=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank" data-gumroad-single-product="true">BUY $79</a></div>';
|
| 840 |
$out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
|
| 841 |
$out .= '</td>';
|
| 842 |
$out .= '<td>';
|
| 843 |
+
if (1 || $promo_active) {
|
| 844 |
+
$out .= '<div class="gmw-promo-button gmw-promo-button-extra"><a href="https://gum.co/gmw-pro/welcomegmw?wanted=true&plugin_info=GMW+v' . GMW::$version . '" target="_blank" data-gumroad-single-product="true">only <strike>$49</strike> $39</a><span>discount: 20%</span></div>';
|
| 845 |
} elseif ($promo_active2) {
|
| 846 |
+
$out .= '<div class="gmw-promo-button gmw-promo-button-extra"><a href="https://gum.co/gmw-pro/olduser4?wanted=true&plugin_info=GMW+v' . GMW::$version . '" target="_blank" data-gumroad-single-product="true">only <strike>$49</strike> $39</a><span>discount: 25%</span></div>';
|
| 847 |
} else {
|
| 848 |
+
$out .= '<div class="gmw-promo-button"><a href="https://gum.co/gmw-pro?wanted=true&plugin_info=GMW+v' . GMW::$version . '" data-noprevent="1" data-gumroad-single-product="true" target="_blank">BUY $49</a></div>';
|
| 849 |
}
|
| 850 |
$out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
|
| 851 |
$out .= '</td>';
|
| 852 |
+
$out .= '<td><div class="gmw-promo-button"><a href="https://gum.co/gmw-yearly?wanted=false&yearly=true&plugin_info=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank" data-gumroad-single-product="true">$29 <small>/year</small></a></div>';
|
| 853 |
$out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
|
| 854 |
$out .= '</td>';
|
| 855 |
$out .= '</tr>';
|
js/gmw-admin-plugins.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
-
* (c) Web factory Ltd, 2012 -
|
| 4 |
*/
|
| 5 |
|
| 6 |
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
+
* (c) Web factory Ltd, 2012 - 2020
|
| 4 |
*/
|
| 5 |
|
| 6 |
|
js/gmw-admin-pointers.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
-
* (c) Web factory Ltd, 2012 -
|
| 4 |
*/
|
| 5 |
|
| 6 |
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
+
* (c) Web factory Ltd, 2012 - 2020
|
| 4 |
*/
|
| 5 |
|
| 6 |
|
js/gmw-admin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
-
* (c) Web factory Ltd, 2012 -
|
| 4 |
*/
|
| 5 |
|
| 6 |
|
| 1 |
/*
|
| 2 |
* Maps Widget for Google Maps
|
| 3 |
+
* (c) Web factory Ltd, 2012 - 2020
|
| 4 |
*/
|
| 5 |
|
| 6 |
|
readme.txt
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
=== Maps Widget for Google Maps - Google Maps Builder ===
|
| 2 |
-
Contributors: WebFactory
|
| 3 |
Tags: google maps, maps, map, google map, google maps widget, map markers, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
|
| 4 |
License: GPLv2 or later
|
| 5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 6 |
Requires at least: 4.0
|
| 7 |
-
Tested up to: 5.
|
| 8 |
-
Stable tag: 4.
|
| 9 |
Requires PHP: 5.2
|
| 10 |
|
| 11 |
-
Are your Google Maps slow? Try Map Widget for Google Maps. You'll have a fast Google Maps widget with a thumbnail & lightbox in minutes!
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
|
@@ -181,6 +181,10 @@ Try <a href="http://www.niftymaps.co">Nifty Maps</a> - a comprehensive Map Build
|
|
| 181 |
|
| 182 |
== Changelog ==
|
| 183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
= 4.17 =
|
| 185 |
* 2019/08/03
|
| 186 |
* removed all tracking functionality
|
| 1 |
=== Maps Widget for Google Maps - Google Maps Builder ===
|
| 2 |
+
Contributors: WebFactory
|
| 3 |
Tags: google maps, maps, map, google map, google maps widget, map markers, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
|
| 4 |
License: GPLv2 or later
|
| 5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 6 |
Requires at least: 4.0
|
| 7 |
+
Tested up to: 5.5
|
| 8 |
+
Stable tag: 4.18
|
| 9 |
Requires PHP: 5.2
|
| 10 |
|
| 11 |
+
Are your Google Maps slow? Try Map Widget for Google Maps. You'll have a fast Google Maps widget with a thumbnail & lightbox map in minutes!
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
| 181 |
|
| 182 |
== Changelog ==
|
| 183 |
|
| 184 |
+
= 4.18 =
|
| 185 |
+
* 2020/09/16
|
| 186 |
+
* minor fixes
|
| 187 |
+
|
| 188 |
= 4.17 =
|
| 189 |
* 2019/08/03
|
| 190 |
* removed all tracking functionality
|
