Plugin Directory

Changeset 3310406


Ignore:
Timestamp:
06/12/2025 10:15:30 AM (9 months ago)
Author:
a3rev
Message:

Release new version 6.1.2

  • This maintenance release has 1 bug fix and compatibility with WordPress 6.8.1 and WooCommerce 9.9.3
  • Tweak - Tested for compatibility with WordPress 6.8.1
  • Tweak - Tested for compatibility with WooCommerce 9.9.3
  • Fix - Validate args before generate sql command
Location:
woocommerce-predictive-search/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-predictive-search/trunk/includes/class-wc-predictive-search.php

    r3116923 r3310406  
    4848    public function general_sql( $main_sql ) {
    4949
     50        if ( empty( $main_sql ) ) {
     51            return '';
     52        }
     53
    5054        $select_sql = '';
    5155        if ( is_array( $main_sql['select'] ) && count( $main_sql['select'] ) > 0 ) {
     
    172176        }
    173177
     178        if ( ! is_array( $main_sql ) ) {
     179            $main_sql = array();
     180        }
    174181        $main_sql = array_merge_recursive( $main_sql, $wpml_sql );
    175182
     
    186193
    187194        $sql = $this->get_product_search_sql( $search_keyword, 1, 0, $woocommerce_search_focus_enable, $woocommerce_search_focus_plugin, $post_type, $term_id, $current_lang, true );
     195
     196        if ( empty( $sql ) ) {
     197            return false;
     198        }
    188199
    189200        $sql = "SELECT EXISTS( " . $sql . ")";
  • woocommerce-predictive-search/trunk/readme.txt

    r3272185 r3310406  
    44Tags: WooCommerce search, Predictive Search, WooCommerce, Predictive Search, Live Search, Elementor WooCommerce Search
    55Requires at least: 6.0
    6 Tested up to: 6.8
    7 Stable tag: 6.1.1
     6Tested up to: 6.8.1
     7Stable tag: 6.1.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    178178
    179179== Changelog ==
     180
     181= 6.1.2 - 2025/06/12 =
     182* This maintenance release has 1 bug fix and compatibility with WordPress 6.8.1 and WooCommerce 9.9.3
     183* Tweak - Tested for compatibility with WordPress 6.8.1
     184* Tweak - Tested for compatibility with WooCommerce 9.9.3
     185* Fix - Validate args before generate sql command
    180186
    181187= 6.1.1 - 2024/07/20 =
     
    11001106== Upgrade Notice ==
    11011107
     1108= 6.1.2 =
     1109This maintenance release has 1 bug fix and compatibility with WordPress 6.8.1 and WooCommerce 9.9.3
     1110
    11021111= 6.1.1 =
    11031112This maintenance release has a security hardening patch. Please upgrade now.
  • woocommerce-predictive-search/trunk/wc-predictive-search.php

    r3272185 r3310406  
    44Plugin URI: https://a3rev.com/shop/woocommerce-predictive-search/
    55Description: With WooCommerce Predictive Search Lite you can add an awesome Predictive Products Search widget to any widgetized area on your site.
    6 Version: 6.1.1
     6Version: 6.1.2
    77Author: a3rev Software
    88Author URI: https://www.a3rev.com/
    99Requires at least: 6.0
    10 Tested up to: 6.8
     10Tested up to: 6.8.1
    1111Text Domain: woocommerce-predictive-search
    1212WC requires at least: 6.0.0
    13 WC tested up to: 9.8.0
     13WC tested up to: 9.9.3
    1414Domain Path: /languages
    1515License: GPLv2 or later
     
    4242define( 'WOOPS_KEY', 'woo_predictive_search' );
    4343define( 'WOOPS_PREFIX', 'wc_predictive_search_' );
    44 define( 'WOOPS_VERSION', '6.1.1' );
     44define( 'WOOPS_VERSION', '6.1.2' );
    4545define( 'WOOPS_G_FONTS', true );
    4646
Note: See TracChangeset for help on using the changeset viewer.