Version Description
Download this release
Release Info
Developer | tijmensmit |
Plugin | WP Store Locator |
Version | 2.2.231 |
Comparing to | |
See all releases |
Code changes from version 2.2.23 to 2.2.231
- frontend/class-frontend.php +1 -1
- readme.txt +4 -1
- wp-store-locator.php +2 -2
frontend/class-frontend.php
CHANGED
@@ -1727,7 +1727,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
|
|
1727 |
if ( !function_exists( 'BorlabsCookieHelper' ) ) {
|
1728 |
wp_enqueue_script( 'wpsl-gmap', ( 'https://maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) . '' ), '', null, true );
|
1729 |
} else {
|
1730 |
-
if ( !$wpsl_settings['delay_loading'] ||
|
1731 |
wp_enqueue_script( 'wpsl-gmap', ( 'https://maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) . '' ), '', null, true );
|
1732 |
}
|
1733 |
}
|
1727 |
if ( !function_exists( 'BorlabsCookieHelper' ) ) {
|
1728 |
wp_enqueue_script( 'wpsl-gmap', ( 'https://maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) . '' ), '', null, true );
|
1729 |
} else {
|
1730 |
+
if ( !$wpsl_settings['delay_loading'] || stripos( $post->post_content, '[borlabs_cookie_blocked_content type="wpstorelocator"' ) === false ) {
|
1731 |
wp_enqueue_script( 'wpsl-gmap', ( 'https://maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) . '' ), '', null, true );
|
1732 |
}
|
1733 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.paypal.me/tijmensmit
|
|
5 |
Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
|
6 |
Requires at least: 3.7
|
7 |
Tested up to: 5.2
|
8 |
-
Stable tag: 2.2.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl.html
|
11 |
|
@@ -127,6 +127,9 @@ If you find a plugin or theme that causes a conflict, please report it on the [s
|
|
127 |
|
128 |
== Changelog ==
|
129 |
|
|
|
|
|
|
|
130 |
= 2.2.23, May 6, 2019 =
|
131 |
* Fixed: The export data function on the single location pages in the admin area not working.
|
132 |
* Fixed: The map and location data not showing up in the TwentyNineteen theme on individual location pages.
|
5 |
Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
|
6 |
Requires at least: 3.7
|
7 |
Tested up to: 5.2
|
8 |
+
Stable tag: 2.2.231
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl.html
|
11 |
|
127 |
|
128 |
== Changelog ==
|
129 |
|
130 |
+
= 2.2.231, Sept 18, 2019 =
|
131 |
+
* Fixed: Bug that in some cases broken the Borlabs Cookie plugin from working correctly together with the store locator plugin.
|
132 |
+
|
133 |
= 2.2.23, May 6, 2019 =
|
134 |
* Fixed: The export data function on the single location pages in the admin area not working.
|
135 |
* Fixed: The map and location data not showing up in the TwentyNineteen theme on individual location pages.
|
wp-store-locator.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Store Locator
|
|
4 |
Description: An easy to use location management system that enables users to search for nearby physical stores
|
5 |
Author: Tijmen Smit
|
6 |
Author URI: https://wpstorelocator.co/
|
7 |
-
Version: 2.2.
|
8 |
Text Domain: wpsl
|
9 |
Domain Path: /languages/
|
10 |
License: GPL v3
|
@@ -61,7 +61,7 @@ if ( !class_exists( 'WP_Store_locator' ) ) {
|
|
61 |
public function define_constants() {
|
62 |
|
63 |
if ( !defined( 'WPSL_VERSION_NUM' ) )
|
64 |
-
define( 'WPSL_VERSION_NUM', '2.2.
|
65 |
|
66 |
if ( !defined( 'WPSL_URL' ) )
|
67 |
define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
|
4 |
Description: An easy to use location management system that enables users to search for nearby physical stores
|
5 |
Author: Tijmen Smit
|
6 |
Author URI: https://wpstorelocator.co/
|
7 |
+
Version: 2.2.231
|
8 |
Text Domain: wpsl
|
9 |
Domain Path: /languages/
|
10 |
License: GPL v3
|
61 |
public function define_constants() {
|
62 |
|
63 |
if ( !defined( 'WPSL_VERSION_NUM' ) )
|
64 |
+
define( 'WPSL_VERSION_NUM', '2.2.231' );
|
65 |
|
66 |
if ( !defined( 'WPSL_URL' ) )
|
67 |
define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
|