Version Description
- 2015/06/15
- fixed a bug on notice dismiss action
- added Russian translation - thanks Ivanka!
Download this release
Release Info
Developer | WebFactory |
Plugin | Google Maps Widget – Ultimate Google Maps Plugin |
Version | 2.45 |
Comparing to | |
See all releases |
Code changes from version 2.40 to 2.45
- google-maps-widget.php +5 -5
- lang/google-maps-widget-ru_RU.mo +0 -0
- readme.txt +7 -1
google-maps-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
|
|
4 |
Plugin URI: http://www.googlemapswidget.com/
|
5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox. Includes shortcode support and numerous options.
|
6 |
Author: Web factory Ltd
|
7 |
-
Version: 2.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: google-maps-widget
|
10 |
Domain Path: lang
|
@@ -40,7 +40,7 @@ require_once 'gmw-tracking.php';
|
|
40 |
|
41 |
|
42 |
class GMW {
|
43 |
-
static $version = 2.
|
44 |
|
45 |
// hook everything up
|
46 |
static function init() {
|
@@ -248,7 +248,7 @@ class GMW {
|
|
248 |
if (!$notice &&
|
249 |
(!isset($options['dismiss_notice_rate']) || $options['dismiss_notice_rate'] == false) &&
|
250 |
GMW_tracking::count_active_widgets() > 0 &&
|
251 |
-
(current_time('timestamp') - $options['first_install']) > (DAY_IN_SECONDS *
|
252 |
add_action('admin_notices', array(__CLASS__, 'notice_rate_plugin'));
|
253 |
} // show rate notice
|
254 |
} // add_notices
|
@@ -257,7 +257,7 @@ class GMW {
|
|
257 |
// display message to get extra features for GMW
|
258 |
static function notice_activate_extra_features() {
|
259 |
$activate_url = admin_url('widgets.php?gmw_open_promo_dialog');
|
260 |
-
$dismiss_url = add_query_arg(array('action' => 'gmw_dismiss_notice', 'notice' => 'upgrade', 'redirect' => $_SERVER['REQUEST_URI']), admin_url('admin.php'));
|
261 |
|
262 |
// todo detect WP version and add support for "is-dismissible"
|
263 |
// todo remove style from HTML
|
@@ -272,7 +272,7 @@ class GMW {
|
|
272 |
// display message to get extra features for GMW
|
273 |
static function notice_rate_plugin() {
|
274 |
$rate_url = 'https://wordpress.org/support/view/plugin-reviews/google-maps-widget?rate=5#postform';
|
275 |
-
$dismiss_url = add_query_arg(array('action' => 'gmw_dismiss_notice', 'notice' => 'rate', 'redirect' => $_SERVER['REQUEST_URI']), admin_url('admin.php'));
|
276 |
|
277 |
// todo detect WP version and add support for "is-dismissible"
|
278 |
// todo remove style from HTML
|
4 |
Plugin URI: http://www.googlemapswidget.com/
|
5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox. Includes shortcode support and numerous options.
|
6 |
Author: Web factory Ltd
|
7 |
+
Version: 2.45
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: google-maps-widget
|
10 |
Domain Path: lang
|
40 |
|
41 |
|
42 |
class GMW {
|
43 |
+
static $version = 2.45;
|
44 |
|
45 |
// hook everything up
|
46 |
static function init() {
|
248 |
if (!$notice &&
|
249 |
(!isset($options['dismiss_notice_rate']) || $options['dismiss_notice_rate'] == false) &&
|
250 |
GMW_tracking::count_active_widgets() > 0 &&
|
251 |
+
(current_time('timestamp') - $options['first_install']) > (DAY_IN_SECONDS * 20)) {
|
252 |
add_action('admin_notices', array(__CLASS__, 'notice_rate_plugin'));
|
253 |
} // show rate notice
|
254 |
} // add_notices
|
257 |
// display message to get extra features for GMW
|
258 |
static function notice_activate_extra_features() {
|
259 |
$activate_url = admin_url('widgets.php?gmw_open_promo_dialog');
|
260 |
+
$dismiss_url = add_query_arg(array('action' => 'gmw_dismiss_notice', 'notice' => 'upgrade', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
|
261 |
|
262 |
// todo detect WP version and add support for "is-dismissible"
|
263 |
// todo remove style from HTML
|
272 |
// display message to get extra features for GMW
|
273 |
static function notice_rate_plugin() {
|
274 |
$rate_url = 'https://wordpress.org/support/view/plugin-reviews/google-maps-widget?rate=5#postform';
|
275 |
+
$dismiss_url = add_query_arg(array('action' => 'gmw_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
|
276 |
|
277 |
// todo detect WP version and add support for "is-dismissible"
|
278 |
// todo remove style from HTML
|
lang/google-maps-widget-ru_RU.mo
ADDED
Binary file
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later
|
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 4.2
|
9 |
-
Stable tag: 2.
|
10 |
|
11 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
12 |
|
@@ -78,6 +78,7 @@ http://www.youtube.com/watch?v=y1siX9ha7Pw&hd=1
|
|
78 |
* Dutch - Arno
|
79 |
* Ukrainian - Victor Shutovskiy
|
80 |
* Serbian - Ogi Djuraskovic from <a href="http://firstsiteguide.com/">FirstSiteGuide</a>
|
|
|
81 |
|
82 |
== Installation ==
|
83 |
|
@@ -120,6 +121,11 @@ If you can't figure it out open a thread in the support forums.
|
|
120 |
6. Widget options - info & support
|
121 |
|
122 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
123 |
= 2.40 =
|
124 |
* 2015/05/25
|
125 |
* few small bugs fixed
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 4.2
|
9 |
+
Stable tag: 2.45
|
10 |
|
11 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
12 |
|
78 |
* Dutch - Arno
|
79 |
* Ukrainian - Victor Shutovskiy
|
80 |
* Serbian - Ogi Djuraskovic from <a href="http://firstsiteguide.com/">FirstSiteGuide</a>
|
81 |
+
* Russian - Ivanka from <a href="http://www.coupofy.com/">Coupofy</a>
|
82 |
|
83 |
== Installation ==
|
84 |
|
121 |
6. Widget options - info & support
|
122 |
|
123 |
== Changelog ==
|
124 |
+
= 2.45 =
|
125 |
+
* 2015/06/15
|
126 |
+
* fixed a bug on notice dismiss action
|
127 |
+
* added Russian translation - thanks Ivanka!
|
128 |
+
|
129 |
= 2.40 =
|
130 |
* 2015/05/25
|
131 |
* few small bugs fixed
|