diff --git a/geodirectory.php b/geodirectory.php index c73181cb..3fadb94c 100644 --- a/geodirectory.php +++ b/geodirectory.php @@ -11,7 +11,7 @@ * Plugin Name: GeoDirectory * Plugin URI: https://wpgeodirectory.com/ * Description: GeoDirectory - Business Directory Plugin for WordPress. - * Version: 2.3.64 + * Version: 2.3.65 * Author: AyeCode - WP Business Directory Plugins * Author URI: https://wpgeodirectory.com * Text Domain: geodirectory @@ -34,7 +34,7 @@ final class GeoDirectory { * * @var string */ - public $version = '2.3.64'; + public $version = '2.3.65'; /** * GeoDirectory instance. diff --git a/includes/class-geodir-defaults.php b/includes/class-geodir-defaults.php index 2888d499..0513d7f6 100644 --- a/includes/class-geodir-defaults.php +++ b/includes/class-geodir-defaults.php @@ -162,9 +162,7 @@ public static function page_archive_content($no_filter = false, $blocks = false) public static function page_archive_item_content($no_filter = false, $blocks = false){ if($blocks){ - $content = " -[gd_simple_archive_item preview_type='grid' image_type='image' image_link='post' top_left_badge_preset='featured' top_left_badge_key='' top_left_badge_condition='is_equal' top_left_badge_search='' top_left_badge_icon_class='' top_left_badge_badge='' top_left_badge_link='' top_left_badge_type='' top_left_badge_color='' top_left_badge_bg_color='#0073aa' top_left_badge_txt_color='#ffffff' top_right_badge_preset='new' top_right_badge_key='' top_right_badge_condition='is_equal' top_right_badge_search='' top_right_badge_icon_class='' top_right_badge_badge='' top_right_badge_link='' top_right_badge_type='' top_right_badge_color='' top_right_badge_bg_color='#0073aa' top_right_badge_txt_color='#ffffff' bottom_left_badge_preset='category' bottom_left_badge_key='' bottom_left_badge_condition='is_equal' bottom_left_badge_search='' bottom_left_badge_icon_class='' bottom_left_badge_badge='' bottom_left_badge_link='' bottom_left_badge_type='' bottom_left_badge_color='' bottom_left_badge_bg_color='#0073aa' bottom_left_badge_txt_color='#ffffff' bottom_right_badge_preset='favorite' bottom_right_badge_key='' bottom_right_badge_condition='is_equal' bottom_right_badge_search='' bottom_right_badge_icon_class='' bottom_right_badge_badge='' bottom_right_badge_link='' bottom_right_badge_type='' bottom_right_badge_color='' bottom_right_badge_bg_color='#0073aa' bottom_right_badge_txt_color='#ffffff' body_bg_color='' body_pt='' body_pr='' body_pb='' body_pl='' circle_image_type='author' circle_image_align='center' title_font_size='' title_text_align='' title_text_color='' title_pt='' title_pb='' limit='20' read_more='0' desc_text_color='' desc_text_align='justify' desc_pt='' desc_pb='1' list_style='none' item_py='1' list_text_align='' list_pt='' list_pb='' footer_items='2' footer_item_1='rating' footer_item_1_show='' footer_item_2='business_hours' footer_item_2_show='' footer_item_3='business_hours' footer_item_3_show='' footer_item_4='business_hours' footer_item_4_show='' footer_item_5='business_hours' footer_item_5_show='' footer_bg_color='' footer_border='' footer_font_size='' footer_pt='' footer_pr='' footer_pb='' footer_pl='' ] -"; + $content = "aaa"; }else{ $content = "[gd_archive_item_section type='open' position='left'] [gd_post_badge key='featured' condition='is_not_empty' badge='FEATURED' bg_color='#fd4700' txt_color='#ffffff' css_class='gd-ab-top-left-angle gd-badge-shadow'] diff --git a/readme.txt b/readme.txt index e21694fb..198cbb3f 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://wpgeodirectory.com Tags: business directory, listings, directory plugin, classifieds, directory Requires at least: 4.5 Tested up to: 6.6 -Stable tag: 2.3.64 +Stable tag: 2.3.65 Requires PHP: 5.6 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -317,7 +317,8 @@ We don't offer free trials, but we have a 30-day money-back guarantee if you are __WARNING: GDv2 is a significant update over GDv1 and may require manual work, such as adding widgets to sidebars to recreate your current layout. As always, we recommend trying this on a staging site first. [Learn more](https://docs.wpgeodirectory.com/article/260-upgrading-from-gdv1-to-gdv2)__ -= GeoDirectory v2.3.65 - TBD = += GeoDirectory v2.3.65 - 2024-07-17 = +* non FSE themes can fail to render new blocks - FIXED * Image attribute in schema shows location when private address is enabled - FIXED = GeoDirectory v2.3.64 - 2024-07-16 = diff --git a/vendor/ayecode/wp-super-duper/change-log.txt b/vendor/ayecode/wp-super-duper/change-log.txt index 1401c258..66a13e94 100644 --- a/vendor/ayecode/wp-super-duper/change-log.txt +++ b/vendor/ayecode/wp-super-duper/change-log.txt @@ -1,3 +1,6 @@ += 1.2.5 - 2024-07-17 = +* non FSE themes can fail to render templates with blocks - FIXED + = 1.2.4 - 2024-07-16 = * Some blocks not being wrapped inside the block wrapper - FIXED * Issue with blocks with no arguments not adding shortcode argument - FIXED diff --git a/vendor/ayecode/wp-super-duper/sd-functions.php b/vendor/ayecode/wp-super-duper/sd-functions.php index 991ce129..f35ac6da 100644 --- a/vendor/ayecode/wp-super-duper/sd-functions.php +++ b/vendor/ayecode/wp-super-duper/sd-functions.php @@ -3720,6 +3720,9 @@ function sd_blocks_render_blocks($block_content, $parsed_block, $thiss ){ if(! empty($parsed_block['attrs']['sd_shortcode_close'])){ $content = isset($parsed_block['attrs']['html']) ? $parsed_block['attrs']['html'] : $block_content; $block_content = $parsed_block['attrs']['sd_shortcode'].$content.$parsed_block['attrs']['sd_shortcode_close']; + + $block_content = do_shortcode($block_content); + }elseif(! empty($parsed_block['attrs']['sd_shortcode'])){ $has_warp = false; if($block_content && strpos(trim($block_content), '