Version Description
- 2022-07-24 - fix - Custom CSS character issue fixed.
Download this release
Release Info
Developer | pickplugins |
Plugin | Post Grid |
Version | 2.1.24 |
Comparing to | |
See all releases |
Code changes from version 2.1.23 to 2.1.24
- post-grid.php +2 -2
- readme.txt +3 -1
- templates/post-grid-hook.php +3 -2
post-grid.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Post Grid by PickPlugins
|
4 |
Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/
|
5 |
Description: Awesome post grid for query post from any post type and display on grid.
|
6 |
-
Version: 2.1.
|
7 |
Author: PickPlugins
|
8 |
Author URI: https://www.pickplugins.com/
|
9 |
License: GPLv2 or later
|
@@ -23,7 +23,7 @@ if (!class_exists('PostGrid')) {
|
|
23 |
define('post_grid_plugin_dir', plugin_dir_path(__FILE__));
|
24 |
define('post_grid_plugin_basename', plugin_basename(__FILE__));
|
25 |
define('post_grid_plugin_name', 'Post Grid');
|
26 |
-
define('post_grid_version', '2.1.
|
27 |
define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
|
28 |
|
29 |
|
3 |
Plugin Name: Post Grid by PickPlugins
|
4 |
Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/
|
5 |
Description: Awesome post grid for query post from any post type and display on grid.
|
6 |
+
Version: 2.1.24
|
7 |
Author: PickPlugins
|
8 |
Author URI: https://www.pickplugins.com/
|
9 |
License: GPLv2 or later
|
23 |
define('post_grid_plugin_dir', plugin_dir_path(__FILE__));
|
24 |
define('post_grid_plugin_basename', plugin_basename(__FILE__));
|
25 |
define('post_grid_plugin_name', 'Post Grid');
|
26 |
+
define('post_grid_version', '2.1.24');
|
27 |
define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
|
28 |
|
29 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -223,6 +223,8 @@ then paste this shortcode anywhere in your page to display grid<br />
|
|
223 |
== Changelog ==
|
224 |
|
225 |
|
|
|
|
|
226 |
|
227 |
= 2.1.23 =
|
228 |
* 2022-04-23 - fix - Custom scripts & CSS field issue fixed.
|
4 |
Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 2.1.24
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
223 |
== Changelog ==
|
224 |
|
225 |
|
226 |
+
= 2.1.24 =
|
227 |
+
* 2022-07-24 - fix - Custom CSS character issue fixed.
|
228 |
|
229 |
= 2.1.23 =
|
230 |
* 2022-04-23 - fix - Custom scripts & CSS field issue fixed.
|
templates/post-grid-hook.php
CHANGED
@@ -1209,7 +1209,8 @@ function post_grid_main_scripts($args){
|
|
1209 |
<?php if(!empty($custom_css)): ?>
|
1210 |
<style type="text/css">
|
1211 |
<?php
|
1212 |
-
echo
|
|
|
1213 |
?>
|
1214 |
</style>
|
1215 |
<?php endif; ?>
|
@@ -1218,7 +1219,7 @@ function post_grid_main_scripts($args){
|
|
1218 |
<?php if(!empty($layout_custom_css)): ?>
|
1219 |
<style type="text/css">
|
1220 |
<?php
|
1221 |
-
echo wp_strip_all_tags(str_replace('__ID__', 'layout-'.esc_attr($layout_id), ($layout_custom_css)));
|
1222 |
?>
|
1223 |
</style>
|
1224 |
<?php endif; ?>
|
1209 |
<?php if(!empty($custom_css)): ?>
|
1210 |
<style type="text/css">
|
1211 |
<?php
|
1212 |
+
echo htmlspecialchars_decode($custom_css, ENT_QUOTES);
|
1213 |
+
//echo esc_attr(wp_strip_all_tags($custom_css));
|
1214 |
?>
|
1215 |
</style>
|
1216 |
<?php endif; ?>
|
1219 |
<?php if(!empty($layout_custom_css)): ?>
|
1220 |
<style type="text/css">
|
1221 |
<?php
|
1222 |
+
echo htmlspecialchars_decode(wp_strip_all_tags(str_replace('__ID__', 'layout-'.esc_attr($layout_id), ($layout_custom_css))), ENT_QUOTES);
|
1223 |
?>
|
1224 |
</style>
|
1225 |
<?php endif; ?>
|