Version Description
Download this release
Release Info
Developer | supsystic.com |
Plugin | Google Maps Easy |
Version | 1.11.2 |
Comparing to | |
See all releases |
Code changes from version 1.11.1 to 1.11.2
- classes/html.php +1 -1
- classes/view.php +2 -2
- config.php +1 -1
- gmp.php +1 -1
- modules/gmap/views/tpl/gmapDrawMap.php +1 -1
- modules/options/views/tpl/optionsAdminPage.php +1 -1
- modules/supsystic_promo/views/tpl/overviewTabContent.php +1 -1
- readme.txt +5 -1
classes/html.php
CHANGED
@@ -6,7 +6,7 @@ class htmlGmp {
|
|
6 |
static protected $_allowedHtml;
|
7 |
|
8 |
static public function wpKsesHtml($inputHtml) {
|
9 |
-
return $inputHtml;
|
10 |
}
|
11 |
|
12 |
static public function block($name, $params= array('attrs' => '', 'value' => '')){
|
6 |
static protected $_allowedHtml;
|
7 |
|
8 |
static public function wpKsesHtml($inputHtml) {
|
9 |
+
return viewGmp::ksesString($inputHtml);
|
10 |
}
|
11 |
|
12 |
static public function block($name, $params= array('attrs' => '', 'value' => '')){
|
classes/view.php
CHANGED
@@ -34,7 +34,7 @@ abstract class viewGmp extends baseObjectGmp {
|
|
34 |
}
|
35 |
return false;
|
36 |
}
|
37 |
-
static public function
|
38 |
$allowedHtml = self::getAllowedHtml();
|
39 |
if (!empty($str) && is_string($str)) {
|
40 |
$str = htmlspecialchars_decode($str);
|
@@ -124,7 +124,7 @@ abstract class viewGmp extends baseObjectGmp {
|
|
124 |
public function display($tpl = '') {
|
125 |
$tpl = (empty($tpl)) ? $this->_tpl : $tpl;
|
126 |
if(($content = $this->getContent($tpl)) !== false) {
|
127 |
-
echo self::
|
128 |
}
|
129 |
}
|
130 |
public function getPath($tpl) {
|
34 |
}
|
35 |
return false;
|
36 |
}
|
37 |
+
static public function ksesString($str) {
|
38 |
$allowedHtml = self::getAllowedHtml();
|
39 |
if (!empty($str) && is_string($str)) {
|
40 |
$str = htmlspecialchars_decode($str);
|
124 |
public function display($tpl = '') {
|
125 |
$tpl = (empty($tpl)) ? $this->_tpl : $tpl;
|
126 |
if(($content = $this->getContent($tpl)) !== false) {
|
127 |
+
echo self::ksesString($content);
|
128 |
}
|
129 |
}
|
130 |
public function getPath($tpl) {
|
config.php
CHANGED
@@ -49,7 +49,7 @@
|
|
49 |
define('GMP_EOL', "\n");
|
50 |
|
51 |
define('GMP_PLUGIN_INSTALLED', true);
|
52 |
-
define('GMP_VERSION_PLUGIN', '1.11.
|
53 |
define('GMP_USER', 'user');
|
54 |
|
55 |
define('GMP_CLASS_PREFIX', 'gmpc');
|
49 |
define('GMP_EOL', "\n");
|
50 |
|
51 |
define('GMP_PLUGIN_INSTALLED', true);
|
52 |
+
define('GMP_VERSION_PLUGIN', '1.11.2'); //GMP_VERSION is pre-defined constant for PHP GMP module http://php.net/manual/en/book.gmp.php
|
53 |
define('GMP_USER', 'user');
|
54 |
|
55 |
define('GMP_CLASS_PREFIX', 'gmpc');
|
gmp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Easy Google Maps
|
4 |
* Plugin URI: https://supsystic.com/plugins/google-maps-plugin/
|
5 |
* Description: The easiest way to create Google Map with markers or locations. Display any data on the map: text, images, videos. Custom map marker icons
|
6 |
-
* Version: 1.11.
|
7 |
* Author: supsystic.com
|
8 |
* Author URI: https://supsystic.com
|
9 |
* Text Domain: google-maps-easy
|
3 |
* Plugin Name: Easy Google Maps
|
4 |
* Plugin URI: https://supsystic.com/plugins/google-maps-plugin/
|
5 |
* Description: The easiest way to create Google Map with markers or locations. Display any data on the map: text, images, videos. Custom map marker icons
|
6 |
+
* Version: 1.11.2
|
7 |
* Author: supsystic.com
|
8 |
* Author URI: https://supsystic.com
|
9 |
* Text Domain: google-maps-easy
|
modules/gmap/views/tpl/gmapDrawMap.php
CHANGED
@@ -31,7 +31,7 @@ $filtersWrapperEnd = $markersDisplayType ? "</div>" : '';?>
|
|
31 |
}
|
32 |
?>
|
33 |
<?php if(is_user_logged_in() && !empty($error)) { ?>
|
34 |
-
<b><?php echo $error;?></b>
|
35 |
<?php }?>
|
36 |
<img id="<?php echo esc_attr($mapHtmlId); ?>" class="gmpMapImg gmpMapImg_<?php echo esc_attr($viewId); ?>"
|
37 |
src="<?php echo GMP_IMG_PATH . 'gmap_preview.png'; ?>"
|
31 |
}
|
32 |
?>
|
33 |
<?php if(is_user_logged_in() && !empty($error)) { ?>
|
34 |
+
<b><?php echo viewGmp::ksesString($error);?></b>
|
35 |
<?php }?>
|
36 |
<img id="<?php echo esc_attr($mapHtmlId); ?>" class="gmpMapImg gmpMapImg_<?php echo esc_attr($viewId); ?>"
|
37 |
src="<?php echo GMP_IMG_PATH . 'gmap_preview.png'; ?>"
|
modules/options/views/tpl/optionsAdminPage.php
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
</nav>
|
23 |
<div class="supsystic-container supsystic-<?php echo esc_attr($this->activeTab)?>">
|
24 |
<?php dispatcherGmp::doAction('discountMsg');?>
|
25 |
-
<?php echo $this->content
|
26 |
<div class="clear"></div>
|
27 |
</div>
|
28 |
</section>
|
22 |
</nav>
|
23 |
<div class="supsystic-container supsystic-<?php echo esc_attr($this->activeTab)?>">
|
24 |
<?php dispatcherGmp::doAction('discountMsg');?>
|
25 |
+
<?php echo viewGmp::ksesString($this->content);?>
|
26 |
<div class="clear"></div>
|
27 |
</div>
|
28 |
</section>
|
modules/supsystic_promo/views/tpl/overviewTabContent.php
CHANGED
@@ -52,7 +52,7 @@
|
|
52 |
<div class="supsystic-overview-news">
|
53 |
<h3><?php _e('News', GMP_LANG_CODE)?></h3>
|
54 |
<div class="supsystic-overview-news-content">
|
55 |
-
<?php echo $this->news
|
56 |
</div>
|
57 |
<a href="<?php echo esc_attr($this->mainLink)?>" class="button button-primary button-hero" style="float: right; margin-top: 10px;">
|
58 |
<i class="fa fa-info-circle"></i>
|
52 |
<div class="supsystic-overview-news">
|
53 |
<h3><?php _e('News', GMP_LANG_CODE)?></h3>
|
54 |
<div class="supsystic-overview-news-content">
|
55 |
+
<?php echo viewGmp::ksesString($this->news);?>
|
56 |
</div>
|
57 |
<a href="<?php echo esc_attr($this->mainLink)?>" class="button button-primary button-hero" style="float: right; margin-top: 10px;">
|
58 |
<i class="fa fa-info-circle"></i>
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://supsystic.com/plugins/google-maps-plugin
|
|
5 |
Donate link: https://supsystic.com/plugins/google-maps-plugin
|
6 |
Tags: google map, map, Google Maps, map markers, location
|
7 |
Tested up to: 5.8
|
8 |
-
Stable tag: 1.11.
|
9 |
|
10 |
Google Maps with markers, locations and clusterization, KML layers and filters. Custom Google map markers with text, images, videos, links.
|
11 |
|
@@ -289,6 +289,10 @@ Easy Google Maps Plugin admin area. Add a marker to the google map.
|
|
289 |
|
290 |
|
291 |
== Changelog ==
|
|
|
|
|
|
|
|
|
292 |
= Easy Google Map Plugin v1.11.1 / 17.11.2021 =
|
293 |
* Add fix for installer
|
294 |
* Added wp_kses for render class
|
5 |
Donate link: https://supsystic.com/plugins/google-maps-plugin
|
6 |
Tags: google map, map, Google Maps, map markers, location
|
7 |
Tested up to: 5.8
|
8 |
+
Stable tag: 1.11.2
|
9 |
|
10 |
Google Maps with markers, locations and clusterization, KML layers and filters. Custom Google map markers with text, images, videos, links.
|
11 |
|
289 |
|
290 |
|
291 |
== Changelog ==
|
292 |
+
= Easy Google Map Plugin v1.11.2 / 22.11.2021 =
|
293 |
+
* Add fix for wp_kses
|
294 |
+
|
295 |
+
|
296 |
= Easy Google Map Plugin v1.11.1 / 17.11.2021 =
|
297 |
* Add fix for installer
|
298 |
* Added wp_kses for render class
|