Skip to content

Commit

Permalink
2.3.65
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiofan committed Jul 17, 2024
1 parent a0181f0 commit bd21b8a
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 21 deletions.
4 changes: 2 additions & 2 deletions geodirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,7 +34,7 @@ final class GeoDirectory {
*
* @var string
*/
public $version = '2.3.64';
public $version = '2.3.65';

/**
* GeoDirectory instance.
Expand Down
4 changes: 1 addition & 3 deletions includes/class-geodir-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<!-- wp:geodirectory/geodir-widget-simple-archive-item {\"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='' ]
<!-- /wp:geodirectory/geodir-widget-simple-archive-item -->";
$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']
Expand Down
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 =
Expand Down
3 changes: 3 additions & 0 deletions vendor/ayecode/wp-super-duper/change-log.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion vendor/ayecode/wp-super-duper/sd-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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), '<div class="wp-block-') === 0 ){
Expand All @@ -3733,8 +3736,10 @@ function sd_blocks_render_blocks($block_content, $parsed_block, $thiss ){
// Add the shortcode if its not a wrapped block
$block_content .= $parsed_block['attrs']['sd_shortcode'];
}

$block_content = do_shortcode($block_content);
}
return $block_content;
return $block_content;
}
}

Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-super-duper/wp-super-duper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

if ( ! class_exists( 'WP_Super_Duper' ) ) {

define( 'SUPER_DUPER_VER', '1.2.4' );
define( 'SUPER_DUPER_VER', '1.2.5' );

/**
* A Class to be able to create a Widget, Shortcode or Block to be able to output content for WordPress.
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,24 +246,24 @@
},
{
"name": "ayecode/wp-super-duper",
"version": "1.2.4",
"version_normalized": "1.2.4.0",
"version": "1.2.5",
"version_normalized": "1.2.5.0",
"source": {
"type": "git",
"url": "https://github.com/AyeCode/wp-super-duper.git",
"reference": "2fc373bedb2fcc853e8115de9e82b5c5c008d3bf"
"reference": "ce5293af2df1c8a7c5412ec810e32143242203c1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/2fc373bedb2fcc853e8115de9e82b5c5c008d3bf",
"reference": "2fc373bedb2fcc853e8115de9e82b5c5c008d3bf",
"url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/ce5293af2df1c8a7c5412ec810e32143242203c1",
"reference": "ce5293af2df1c8a7c5412ec810e32143242203c1",
"shasum": ""
},
"require": {
"composer/installers": "~1.0",
"php": ">=5.4.0"
},
"time": "2024-07-16T12:53:15+00:00",
"time": "2024-07-17T10:50:48+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -295,7 +295,7 @@
],
"support": {
"issues": "https://github.com/AyeCode/wp-super-duper/issues",
"source": "https://github.com/AyeCode/wp-super-duper/tree/1.2.4"
"source": "https://github.com/AyeCode/wp-super-duper/tree/1.2.5"
},
"install-path": "../ayecode/wp-super-duper"
},
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'ayecode/geodirectory',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'e3b257f421288f8b373ffcd9bad902501eaa2c2b',
'reference' => '51a05f3249d6c826c50a4badd315a8bc25a69f21',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'ayecode/geodirectory' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'e3b257f421288f8b373ffcd9bad902501eaa2c2b',
'reference' => '51a05f3249d6c826c50a4badd315a8bc25a69f21',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -65,9 +65,9 @@
'dev_requirement' => false,
),
'ayecode/wp-super-duper' => array(
'pretty_version' => '1.2.4',
'version' => '1.2.4.0',
'reference' => '2fc373bedb2fcc853e8115de9e82b5c5c008d3bf',
'pretty_version' => '1.2.5',
'version' => '1.2.5.0',
'reference' => 'ce5293af2df1c8a7c5412ec810e32143242203c1',
'type' => 'library',
'install_path' => __DIR__ . '/../ayecode/wp-super-duper',
'aliases' => array(),
Expand Down

0 comments on commit bd21b8a

Please sign in to comment.