Skip to content

Commit

Permalink
2.3.67
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiofan committed Jul 18, 2024
1 parent d5266ab commit 2d3072d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 18 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.66
* Version: 2.3.67
* 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.66';
public $version = '2.3.67';

/**
* GeoDirectory instance.
Expand Down
2 changes: 1 addition & 1 deletion includes/widgets/class-geodir-widget-loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public function output( $args = array(), $widget_args = array(), $content = '' )
rewind_posts();

// Reset the proper loop content
if ( isset( $wp_query->posts[0] ) && $wp_query->posts[0]->post_type == 'page' && geodir_is_page('search') && !geodir_is_block_theme()) {
if ( isset( $wp_query->posts[0] ) && $wp_query->posts[0]->post_type == 'page' && geodir_is_page('search') && !geodir_is_block_theme() && empty( $wp_query->before_loop ) ) {
$wp_query->current_post = $wp_query->post_count;
return ob_get_clean();
}
Expand Down
3 changes: 2 additions & 1 deletion 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.66
Stable tag: 2.3.67
Requires PHP: 5.6
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -320,6 +320,7 @@ __WARNING: GDv2 is a significant update over GDv1 and may require manual work, s
= GeoDirectory v2.3.67 - 2024-07-18 =
* GD search broken on some block theme - FIXED
* Astra theme GD search broken - FIXED
* Super Duper lib caused fatal error on WP < 5.9 - FIXED

= GeoDirectory v2.3.66 - 2024-07-17 =
* non FSE themes can fail to render new blocks - FIXED
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.6 - 2024-07-18 =
* render_block hook only had 2 args prior to WP 5.9 which could cause fatal error when running WP < 5.9 - FIXED

= 1.2.5 - 2024-07-17 =
* non FSE themes can fail to render templates with blocks - FIXED

Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-super-duper/sd-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3714,7 +3714,7 @@ function sd_gd_field_rule_search( $search, $post_type, $rule, $field = array(),
* @param $thiss
* @return mixed|string
*/
function sd_blocks_render_blocks($block_content, $parsed_block, $thiss ){
function sd_blocks_render_blocks($block_content, $parsed_block, $thiss = array() ){

// Check if ita a nested block that needs to be wrapped
if(! empty($parsed_block['attrs']['sd_shortcode_close'])){
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.5' );
define( 'SUPER_DUPER_VER', '1.2.6' );

/**
* 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.5",
"version_normalized": "1.2.5.0",
"version": "1.2.6",
"version_normalized": "1.2.6.0",
"source": {
"type": "git",
"url": "https://github.com/AyeCode/wp-super-duper.git",
"reference": "ce5293af2df1c8a7c5412ec810e32143242203c1"
"reference": "2d1626ea3f9f42669e81a4ea4db44572ed2ea1fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/ce5293af2df1c8a7c5412ec810e32143242203c1",
"reference": "ce5293af2df1c8a7c5412ec810e32143242203c1",
"url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/2d1626ea3f9f42669e81a4ea4db44572ed2ea1fc",
"reference": "2d1626ea3f9f42669e81a4ea4db44572ed2ea1fc",
"shasum": ""
},
"require": {
"composer/installers": "~1.0",
"php": ">=5.4.0"
},
"time": "2024-07-17T10:50:48+00:00",
"time": "2024-07-18T15:16:04+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.5"
"source": "https://github.com/AyeCode/wp-super-duper/tree/1.2.6"
},
"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' => '51a05f3249d6c826c50a4badd315a8bc25a69f21',
'reference' => 'd5266abf17ab19e599928af50ea6b22edaf67bfd',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'ayecode/geodirectory' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '51a05f3249d6c826c50a4badd315a8bc25a69f21',
'reference' => 'd5266abf17ab19e599928af50ea6b22edaf67bfd',
'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.5',
'version' => '1.2.5.0',
'reference' => 'ce5293af2df1c8a7c5412ec810e32143242203c1',
'pretty_version' => '1.2.6',
'version' => '1.2.6.0',
'reference' => '2d1626ea3f9f42669e81a4ea4db44572ed2ea1fc',
'type' => 'library',
'install_path' => __DIR__ . '/../ayecode/wp-super-duper',
'aliases' => array(),
Expand Down

0 comments on commit 2d3072d

Please sign in to comment.