Version Description
= 7.11.19 = Please update to 7.11.18 or above to ensure you are using the latest security enhancements.
= 6.3.15 = Please update your WP Google Maps version to 6.3.15 to ensure you are using the latest security enhancements.
= 6.3.14 = Please update your WP Google Maps version to 6.3.14 to ensure you are using the latest security enhancements.
= 6.2.1 = Please update your WP Google Maps version to 6.2.1 to ensure you are using the latest security enhancements.
= 6.1.10 = Please update WP Google Maps to version 6.1.10 to enable our latest security enhancements.
= 6.1.5 = We no longer support timthumb and we have opted to remove it from WP Google Maps. Please update to 6.1.5 to ensure the removal of the timthumb script.
= 6.0.27 = Please upgrade your version of WP Google Maps to version 6.0.27 as it includes multiple security improvements.
Release Info
Developer | perryrylance |
Plugin | WP Google Maps |
Version | 7.11.26 |
Comparing to | |
See all releases |
Code changes from version 7.11.25 to 7.11.26
- includes/class.rest-api.php +34 -2
- js/v8/tables/datatable.js +0 -8
- js/v8/wp-google-maps.combined.js +0 -8
- readme.txt +2 -1
- wpGoogleMaps.php +6 -1
@@ -236,9 +236,41 @@ class RestAPI extends Factory
|
|
236 |
else
|
237 |
$class = '\\' . stripslashes( $request['phpClass'] );
|
238 |
|
239 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
|
241 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
|
243 |
if(!($instance instanceof DataTable))
|
244 |
return WP_Error('wpgmza_invalid_datatable_class', 'Specified PHP class must extend WPGMZA\\DataTable', array('status' => 403));
|
236 |
else
|
237 |
$class = '\\' . stripslashes( $request['phpClass'] );
|
238 |
|
239 |
+
try{
|
240 |
+
|
241 |
+
$reflection = new \ReflectionClass($class);
|
242 |
+
|
243 |
+
}catch(Exception $e) {
|
244 |
+
|
245 |
+
return WP_Error('wpgmza_invalid_datatable_class', 'Invalid class specified', array('status' => 403));
|
246 |
+
|
247 |
+
}
|
248 |
|
249 |
+
if(
|
250 |
+
(
|
251 |
+
class_exists('\\WPGMZA\\MarkerListing')
|
252 |
+
&&
|
253 |
+
$reflection->isSubclassOf('\\WPGMZA\\MarkerListing')
|
254 |
+
)
|
255 |
+
|
256 |
+
||
|
257 |
+
|
258 |
+
(
|
259 |
+
class_exists('\\WPGMZA\\MarkerListing\\AdvancedTable')
|
260 |
+
&&
|
261 |
+
(
|
262 |
+
$class == '\\WPGMZA\\MarkerListing\\AdvancedTable'
|
263 |
+
||
|
264 |
+
$reflection->isSubclassOf('\\WPGMZA\\MarkerListing\\AdvancedTable')
|
265 |
+
)
|
266 |
+
)
|
267 |
+
)
|
268 |
+
{
|
269 |
+
$map_id = $request['map_id'];
|
270 |
+
$instance = $class::createInstance($map_id);
|
271 |
+
}
|
272 |
+
else
|
273 |
+
$instance = $class::createInstance();
|
274 |
|
275 |
if(!($instance instanceof DataTable))
|
276 |
return WP_Error('wpgmza_invalid_datatable_class', 'Specified PHP class must extend WPGMZA\\DataTable', array('status' => 403));
|
@@ -399,20 +399,12 @@ jQuery(function($) {
|
|
399 |
var input = encoder.encode(string);
|
400 |
var compressed = pako.deflate(input);
|
401 |
|
402 |
-
console.log(compressed);
|
403 |
-
|
404 |
var raw = Array.prototype.map.call(compressed, function(ch) {
|
405 |
return String.fromCharCode(ch);
|
406 |
}).join("");
|
407 |
|
408 |
-
console.log(raw);
|
409 |
-
|
410 |
var base64 = btoa(raw);
|
411 |
|
412 |
-
console.log(base64);
|
413 |
-
|
414 |
-
//var fullUrl = WPGMZA.RestAPI.URL + "/datatables/?wpgmzaDataTableRequestData=" + base64;
|
415 |
-
|
416 |
return {
|
417 |
wpgmzaDataTableRequestData: base64
|
418 |
};
|
399 |
var input = encoder.encode(string);
|
400 |
var compressed = pako.deflate(input);
|
401 |
|
|
|
|
|
402 |
var raw = Array.prototype.map.call(compressed, function(ch) {
|
403 |
return String.fromCharCode(ch);
|
404 |
}).join("");
|
405 |
|
|
|
|
|
406 |
var base64 = btoa(raw);
|
407 |
|
|
|
|
|
|
|
|
|
408 |
return {
|
409 |
wpgmzaDataTableRequestData: base64
|
410 |
};
|
@@ -9051,20 +9051,12 @@ jQuery(function($) {
|
|
9051 |
var input = encoder.encode(string);
|
9052 |
var compressed = pako.deflate(input);
|
9053 |
|
9054 |
-
console.log(compressed);
|
9055 |
-
|
9056 |
var raw = Array.prototype.map.call(compressed, function(ch) {
|
9057 |
return String.fromCharCode(ch);
|
9058 |
}).join("");
|
9059 |
|
9060 |
-
console.log(raw);
|
9061 |
-
|
9062 |
var base64 = btoa(raw);
|
9063 |
|
9064 |
-
console.log(base64);
|
9065 |
-
|
9066 |
-
//var fullUrl = WPGMZA.RestAPI.URL + "/datatables/?wpgmzaDataTableRequestData=" + base64;
|
9067 |
-
|
9068 |
return {
|
9069 |
wpgmzaDataTableRequestData: base64
|
9070 |
};
|
9051 |
var input = encoder.encode(string);
|
9052 |
var compressed = pako.deflate(input);
|
9053 |
|
|
|
|
|
9054 |
var raw = Array.prototype.map.call(compressed, function(ch) {
|
9055 |
return String.fromCharCode(ch);
|
9056 |
}).join("");
|
9057 |
|
|
|
|
|
9058 |
var base64 = btoa(raw);
|
9059 |
|
|
|
|
|
|
|
|
|
9060 |
return {
|
9061 |
wpgmzaDataTableRequestData: base64
|
9062 |
};
|
@@ -3,7 +3,7 @@ Contributors: WPGMaps, NickDuncan, CodeCabin_, DylanAuty, PerryRylance
|
|
3 |
Donate link: https://www.wpgmaps.com
|
4 |
Tags: google maps, maps, map, map markers, google map, google maps plugin, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 5.2
|
7 |
Requires PHP: 5.3
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2
|
@@ -1159,3 +1159,4 @@ For more, please view the WP Google Maps site
|
|
1159 |
|
1160 |
|
1161 |
|
|
3 |
Donate link: https://www.wpgmaps.com
|
4 |
Tags: google maps, maps, map, map markers, google map, google maps plugin, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 5.2.1
|
7 |
Requires PHP: 5.3
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2
|
1159 |
|
1160 |
|
1161 |
|
1162 |
+
|
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: https://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
-
Version: 7.11.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
@@ -11,6 +11,11 @@ Domain Path: /languages
|
|
11 |
*/
|
12 |
|
13 |
/*
|
|
|
|
|
|
|
|
|
|
|
14 |
* 7.11.25 - 2019-05-21 :- Low priority
|
15 |
* Added CSS max width fix to override themes breaking OpenLayers markers
|
16 |
* Added WPGMZA.Text and WPGMZA.GoogleText modules
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: https://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
+
Version: 7.11.26
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* 7.11.26 - 2019-05-22 :- Medium Priority
|
15 |
+
* Tested with WordPress 5.2.1
|
16 |
+
* REST API only passes map ID to child classes of MarkerListing and AdvancedTable
|
17 |
+
* Fixed admin marker table not loading due to the above
|
18 |
+
*
|
19 |
* 7.11.25 - 2019-05-21 :- Low priority
|
20 |
* Added CSS max width fix to override themes breaking OpenLayers markers
|
21 |
* Added WPGMZA.Text and WPGMZA.GoogleText modules
|