Version Description
- 2014/03/25
- minor bug fixes
- new Spanish translation - thank you Jesus!
- still working on those lightbox skins, sorry :(
Download this release
Release Info
Developer | WebFactory |
Plugin | Google Maps Widget – Ultimate Google Maps Plugin |
Version | 1.50 |
Comparing to | |
See all releases |
Code changes from version 1.47 to 1.50
- gmw-tracking.php +3 -2
- gmw-widget.php +5 -5
- google-maps-widget.php +1 -1
- lang/google-maps-widget-es_ES.mo +0 -0
- readme.txt +8 -2
gmw-tracking.php
CHANGED
@@ -84,8 +84,8 @@ class GMW_tracking {
|
|
84 |
$optout_url = add_query_arg('gmw_tracking', 'opt_out');
|
85 |
|
86 |
echo '<div class="updated"><p>';
|
87 |
-
echo __( 'Please help us improve <strong>Google Maps Widget</strong> by allowing us to track anonymous usage data. Absolutely <strong>no sensitive data is tracked</strong> (<a href="http://www.googlemapswidget.com/plugin-tracking-info/" target="_blank">complete disclosure & details of our tracking policy</a>).', 'google-maps-widget');
|
88 |
-
echo '
|
89 |
echo ' <a href="' . esc_url($optout_url) . '" class="">' . __('Do not allow tracking', 'google-maps-widget') . '</a>';
|
90 |
echo '</p></div>';
|
91 |
} // tracking_notice
|
@@ -122,6 +122,7 @@ class GMW_tracking {
|
|
122 |
$data = array();
|
123 |
|
124 |
$data['url'] = home_url();
|
|
|
125 |
$data['wp_version'] = get_bloginfo('version');
|
126 |
$data['gmw_version'] = GMW_VER;
|
127 |
$data['gmw_first_version'] = $options['first_version'];
|
84 |
$optout_url = add_query_arg('gmw_tracking', 'opt_out');
|
85 |
|
86 |
echo '<div class="updated"><p>';
|
87 |
+
echo __( 'Please help us improve <strong>Google Maps Widget</strong> by allowing us to track anonymous usage data. Absolutely <strong>no sensitive data is tracked</strong> (<a href="http://www.googlemapswidget.com/plugin-tracking-info/" target="_blank">complete disclosure & details of our tracking policy</a>). As a thank you we\'ll email you a 25% discount coupon for all our premium plugins & themes.', 'google-maps-widget');
|
88 |
+
echo '<br /><a href="' . esc_url($optin_url) . '" style="vertical-align: baseline;" class="button-primary">' . __('Allow', 'google-maps-widget') . '</a>';
|
89 |
echo ' <a href="' . esc_url($optout_url) . '" class="">' . __('Do not allow tracking', 'google-maps-widget') . '</a>';
|
90 |
echo '</p></div>';
|
91 |
} // tracking_notice
|
122 |
$data = array();
|
123 |
|
124 |
$data['url'] = home_url();
|
125 |
+
$data['admin_email'] = get_bloginfo('admin_email');
|
126 |
$data['wp_version'] = get_bloginfo('version');
|
127 |
$data['gmw_version'] = GMW_VER;
|
128 |
$data['gmw_first_version'] = $options['first_version'];
|
gmw-widget.php
CHANGED
@@ -260,18 +260,18 @@ class GoogleMapsWidget extends WP_Widget {
|
|
260 |
'address' => $instance['address'],
|
261 |
'zoom' => $instance['lightbox_zoom'],
|
262 |
'type' => $instance['lightbox_type'],
|
263 |
-
'skin' =>
|
264 |
'bubble' => $instance['lightbox_bubble'],
|
265 |
'll' => $ll,
|
266 |
'id' => $widget_id);
|
267 |
|
268 |
$out .= $before_widget;
|
269 |
|
270 |
-
if (!$instance['thumb_link_type']) {
|
271 |
$instance['thumb_link_type'] = 'lightbox';
|
272 |
}
|
273 |
|
274 |
-
if ($instance['thumb_new_colors']) {
|
275 |
$instance['thumb_new_colors'] = 'true';
|
276 |
} else {
|
277 |
$instance['thumb_new_colors'] = 'false';
|
@@ -282,7 +282,7 @@ class GoogleMapsWidget extends WP_Widget {
|
|
282 |
$out .= $before_title . $title . $after_title;
|
283 |
}
|
284 |
|
285 |
-
if ($instance['thumb_header']) {
|
286 |
$tmp .= wpautop($instance['thumb_header']);
|
287 |
// todo, test - do_shortcode
|
288 |
}
|
@@ -301,7 +301,7 @@ class GoogleMapsWidget extends WP_Widget {
|
|
301 |
$tmp .= '</a>';
|
302 |
}
|
303 |
$tmp .= '</p>';
|
304 |
-
if ($instance['thumb_footer']) {
|
305 |
$tmp .= wpautop($instance['thumb_footer']);
|
306 |
// todo, test - do_shortcode
|
307 |
}
|
260 |
'address' => $instance['address'],
|
261 |
'zoom' => $instance['lightbox_zoom'],
|
262 |
'type' => $instance['lightbox_type'],
|
263 |
+
'skin' => @$instance['lightbox_skin'], // todo bad fix
|
264 |
'bubble' => $instance['lightbox_bubble'],
|
265 |
'll' => $ll,
|
266 |
'id' => $widget_id);
|
267 |
|
268 |
$out .= $before_widget;
|
269 |
|
270 |
+
if (!isset($instance['thumb_link_type']) || !$instance['thumb_link_type']) {
|
271 |
$instance['thumb_link_type'] = 'lightbox';
|
272 |
}
|
273 |
|
274 |
+
if (isset($instance['thumb_new_colors']) && $instance['thumb_new_colors']) {
|
275 |
$instance['thumb_new_colors'] = 'true';
|
276 |
} else {
|
277 |
$instance['thumb_new_colors'] = 'false';
|
282 |
$out .= $before_title . $title . $after_title;
|
283 |
}
|
284 |
|
285 |
+
if (isset($instance['thumb_header']) && $instance['thumb_header']) {
|
286 |
$tmp .= wpautop($instance['thumb_header']);
|
287 |
// todo, test - do_shortcode
|
288 |
}
|
301 |
$tmp .= '</a>';
|
302 |
}
|
303 |
$tmp .= '</p>';
|
304 |
+
if (isset($instance['thumb_footer']) && $instance['thumb_footer']) {
|
305 |
$tmp .= wpautop($instance['thumb_footer']);
|
306 |
// todo, test - do_shortcode
|
307 |
}
|
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.
|
6 |
Author: Web factory Ltd
|
7 |
-
Version: 1.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: google-maps-widget
|
10 |
Domain Path: lang
|
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.
|
6 |
Author: Web factory Ltd
|
7 |
+
Version: 1.50
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: google-maps-widget
|
10 |
Domain Path: lang
|
lang/google-maps-widget-es_ES.mo
CHANGED
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: 3.8.1
|
9 |
-
Stable tag: 1.
|
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 |
|
@@ -44,7 +44,7 @@ http://www.youtube.com/watch?v=y1siX9ha7Pw&hd=1
|
|
44 |
* header text
|
45 |
* footer text
|
46 |
|
47 |
-
> If you need a Google Maps shortcode plugin you might be interested in purchasing our premium <a title="5sec Google Maps" href="http://5sec-
|
48 |
|
49 |
The plugin was voted on the <a href="http://themesplugins.com/Plugin-detail/google-maps-widget-google-map-free-plugin-for-wordpress/" title="Top 100 WordPressian plugin">Top 100 List</a> by WordPressian and made it on the <a href="http://tidyrepo.com/google-maps-widget/">Tidy Repo</a> list.
|
50 |
|
@@ -99,6 +99,12 @@ If you can figure it out open a thread in the support forums.
|
|
99 |
4. Widget options - lightbox map
|
100 |
|
101 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
= 1.47 =
|
103 |
* 2014/03/05
|
104 |
* minor bug fix
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 3.8.1
|
9 |
+
Stable tag: 1.50
|
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 |
|
44 |
* header text
|
45 |
* footer text
|
46 |
|
47 |
+
> If you need a Google Maps shortcode plugin you might be interested in purchasing our premium <a title="5sec Google Maps" href="http://5sec-google-maps-pro.webfactoryltd.com/">5sec Google Maps PRO</a> plugin.
|
48 |
|
49 |
The plugin was voted on the <a href="http://themesplugins.com/Plugin-detail/google-maps-widget-google-map-free-plugin-for-wordpress/" title="Top 100 WordPressian plugin">Top 100 List</a> by WordPressian and made it on the <a href="http://tidyrepo.com/google-maps-widget/">Tidy Repo</a> list.
|
50 |
|
99 |
4. Widget options - lightbox map
|
100 |
|
101 |
== Changelog ==
|
102 |
+
= 1.50 =
|
103 |
+
* 2014/03/25
|
104 |
+
* minor bug fixes
|
105 |
+
* new Spanish translation - thank you Jesus!
|
106 |
+
* still working on those lightbox skins, sorry :(
|
107 |
+
|
108 |
= 1.47 =
|
109 |
* 2014/03/05
|
110 |
* minor bug fix
|