diff --git a/readme.txt b/readme.txt index 8ad2ae64..0288d000 100644 --- a/readme.txt +++ b/readme.txt @@ -152,6 +152,7 @@ That's it. You're done! = 3.2.1 = +* FIX: Review Block Schema error. * FIX: Content Filter multiple selection not working. * FIX: Content Toggle performance issue. * FIX: Post Excerpt null warning in post grid block. diff --git a/src/blocks/review/block.php b/src/blocks/review/block.php index cb5214e0..67b424ac 100644 --- a/src/blocks/review/block.php +++ b/src/blocks/review/block.php @@ -34,7 +34,7 @@ class="ub_review_percentage_bar_path" } function ub_filterJsonldString($string){ - return str_replace("\'", "'", wp_kses_post($string)); + return str_replace("\'", "'", wp_kses_post(urlencode($string))); } function ub_render_review_block($attributes, $block_content, $block_instance){