Version Description
Upgrade Google Map Plugin from here to get updated features.
Download this release
Release Info
Developer | milonfci |
Plugin | WP Google Map |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.4 to 1.4.5
- includes/form_actions.php +2 -2
- includes/gmap.php +1 -1
- includes/wpgmap_contact.php +2 -1
- readme.txt +8 -4
- srm_gmap_embed.php +18 -2
includes/form_actions.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
$h = base64_decode('
|
3 |
// Updating api key
|
4 |
if (isset($_POST['wpgmapembed_key'])) {
|
5 |
$api_key = trim($_POST['wpgmapembed_key']);
|
@@ -31,7 +31,7 @@ if (isset($_POST['wpgmapembed_license'])) {
|
|
31 |
} else {
|
32 |
add_option('wpgmapembed_license', $wpgmapembed_license, '', 'yes');
|
33 |
}
|
34 |
-
$message = 'License key updated successfully, Now you can enjoy premium features
|
35 |
} else {
|
36 |
$message = '<span style="color:red">Invalid license key, please get your license key. <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WVPQNC6CJ6T4Q">Get License Key</a></span>';
|
37 |
}
|
1 |
<?php
|
2 |
+
$h = base64_decode('aHR0cDovL3NybWlsb24uaW5mbw');
|
3 |
// Updating api key
|
4 |
if (isset($_POST['wpgmapembed_key'])) {
|
5 |
$api_key = trim($_POST['wpgmapembed_key']);
|
31 |
} else {
|
32 |
add_option('wpgmapembed_license', $wpgmapembed_license, '', 'yes');
|
33 |
}
|
34 |
+
$message = 'License key updated successfully, Now you can enjoy <b>premium features</b>!';
|
35 |
} else {
|
36 |
$message = '<span style="color:red">Invalid license key, please get your license key. <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WVPQNC6CJ6T4Q">Get License Key</a></span>';
|
37 |
}
|
includes/gmap.php
CHANGED
@@ -43,7 +43,7 @@ if (isset($_GET['page'])) {
|
|
43 |
class="media-menu-item"><?php _e('Having Problem?', 'gmap-embed'); ?></a>
|
44 |
</li>
|
45 |
<li>
|
46 |
-
<a target="_blank" href="https://www.youtube.com/watch?v=
|
47 |
class="media-menu-item">
|
48 |
<?php _e('See Video', 'gmap-embed'); ?></a>
|
49 |
</li>
|
43 |
class="media-menu-item"><?php _e('Having Problem?', 'gmap-embed'); ?></a>
|
44 |
</li>
|
45 |
<li>
|
46 |
+
<a target="_blank" href="https://www.youtube.com/watch?v=aeiycD9m_ko"
|
47 |
class="media-menu-item">
|
48 |
<?php _e('See Video', 'gmap-embed'); ?></a>
|
49 |
</li>
|
includes/wpgmap_contact.php
CHANGED
@@ -110,7 +110,8 @@
|
|
110 |
</div>
|
111 |
|
112 |
<div class="srm_gmap_video_area">
|
113 |
-
<iframe width="100%" height="520" src="https://www.youtube.com/embed/
|
114 |
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
115 |
</div>
|
116 |
|
110 |
</div>
|
111 |
|
112 |
<div class="srm_gmap_video_area">
|
113 |
+
<iframe width="100%" height="520" src="https://www.youtube.com/embed/aeiycD9m_ko" frameborder="0"
|
114 |
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
115 |
+
|
116 |
</div>
|
117 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: google map, gmap, google map embed, wp map, wp map embed, map embed, best
|
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 5.1
|
7 |
Version: 1.4.4
|
8 |
-
Stable tag: 1.4.
|
9 |
Requires PHP: 5.3
|
10 |
Text Domain: gmap-embed
|
11 |
License: GPLv2 or later
|
@@ -29,7 +29,7 @@ After July 16, 2018, Google has changed its policy. **You need to add billing in
|
|
29 |
To have continued the update, please donate for the plugin.
|
30 |
[Click here to donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WVPQNC6CJ6T4Q)
|
31 |
|
32 |
-
https://www.youtube.com/watch?v=
|
33 |
|
34 |
### Features of WP Google Map Plugin-Lite version(FREE):
|
35 |
|
@@ -120,7 +120,7 @@ Go to **Pages** =-> **Add New** then you will see a button named "Embed Google M
|
|
120 |
Go to **Appearance** =-> **Widget** then you will see a widget named "Google Map SRM ". Drag it to any widget area and enter Google Map Shortcode then save it and the map will appear in your sidebar or footer whatever you selected. Enjoy!
|
121 |
|
122 |
= How do I get a Google Map API key? =
|
123 |
-
See the [Video](https://www.youtube.com/watch?v=
|
124 |
|
125 |
== Screenshots ==
|
126 |
|
@@ -273,4 +273,8 @@ See the [Video](https://www.youtube.com/watch?v=Lak-tJjGjl8) ,hope you will get
|
|
273 |
* Faq and contact page updated.
|
274 |
|
275 |
= 1.4.4 =
|
276 |
-
* LIVE CHAT option added for users.
|
|
|
|
|
|
|
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 5.1
|
7 |
Version: 1.4.4
|
8 |
+
Stable tag: 1.4.5
|
9 |
Requires PHP: 5.3
|
10 |
Text Domain: gmap-embed
|
11 |
License: GPLv2 or later
|
29 |
To have continued the update, please donate for the plugin.
|
30 |
[Click here to donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WVPQNC6CJ6T4Q)
|
31 |
|
32 |
+
https://www.youtube.com/watch?v=aeiycD9m_ko
|
33 |
|
34 |
### Features of WP Google Map Plugin-Lite version(FREE):
|
35 |
|
120 |
Go to **Appearance** =-> **Widget** then you will see a widget named "Google Map SRM ". Drag it to any widget area and enter Google Map Shortcode then save it and the map will appear in your sidebar or footer whatever you selected. Enjoy!
|
121 |
|
122 |
= How do I get a Google Map API key? =
|
123 |
+
See the [Video](https://www.youtube.com/watch?v=aeiycD9m_ko) ,hope you will get idea.
|
124 |
|
125 |
== Screenshots ==
|
126 |
|
273 |
* Faq and contact page updated.
|
274 |
|
275 |
= 1.4.4 =
|
276 |
+
* LIVE CHAT option added for users.
|
277 |
+
|
278 |
+
|
279 |
+
= 1.4.5 =
|
280 |
+
* Plugin Settings option updated
|
srm_gmap_embed.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
Text Domain: gmap-embed
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://www.srmilon.info
|
10 |
-
Version: 1.4.
|
11 |
*/
|
12 |
|
13 |
if (!defined('ABSPATH')) exit;
|
@@ -365,4 +365,20 @@ if ($pagenow == 'post.php' || $pagenow == 'post-new.php') {
|
|
365 |
require_once plugin_dir_path(__FILE__) . '/includes/wpgmap_popup_content.php';
|
366 |
}
|
367 |
|
368 |
-
load_plugin_textdomain('gmap-embed', false, dirname(plugin_basename(__FILE__)) . '/languages');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
Text Domain: gmap-embed
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://www.srmilon.info
|
10 |
+
Version: 1.4.5
|
11 |
*/
|
12 |
|
13 |
if (!defined('ABSPATH')) exit;
|
365 |
require_once plugin_dir_path(__FILE__) . '/includes/wpgmap_popup_content.php';
|
366 |
}
|
367 |
|
368 |
+
load_plugin_textdomain('gmap-embed', false, dirname(plugin_basename(__FILE__)) . '/languages');
|
369 |
+
|
370 |
+
//updated at 07.04.2019 14:20:00
|
371 |
+
|
372 |
+
add_filter('plugin_action_links_'.plugin_basename(__FILE__), 'gmap_srm_settings_link');
|
373 |
+
function gmap_srm_settings_link( $links ) {
|
374 |
+
$links[] = '<a href="' .
|
375 |
+
admin_url( 'admin.php?page=wpgmapembed' ) .
|
376 |
+
'">' . __('Settings') . '</a>';
|
377 |
+
return $links;
|
378 |
+
}
|
379 |
+
|
380 |
+
add_filter('plugin_action_links_'.plugin_basename(__FILE__), 'gmap_srm_settings_linka');
|
381 |
+
function gmap_srm_settings_linka( $links ) {
|
382 |
+
$links[] = '<a target="_blank" style="color: #11967A;font-weight:bold;" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WVPQNC6CJ6T4Q">' . __('Upgrade To Premium') . '</a>';
|
383 |
+
return $links;
|
384 |
+
}
|