Skip to content

Commit

Permalink
Fixed - Queries that were causing blank search pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
twoelevenjay committed Nov 9, 2024
1 parent b124807 commit 04045d8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Changelog

### 2.0.3 11.09.2024
* Fixed - Queries that were causing blank search pages.

### 2.0.2 10.29.2024
* Fixed - Conditionals that were causing blank archive pages.

Expand Down
4 changes: 2 additions & 2 deletions includes/class-dp-discontinued-product.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ public function build_tax_query( $q ) {
array(
'taxonomy' => 'product_discontinued',
'field' => 'slug',
'terms' => 'dp-show-search',
'operator' => 'IN',
'terms' => 'dp-hide-search',
'operator' => 'NOT IN',
),
);
return $tax_queries;
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
**Tags:** woocommerce, woocommerce products, discontinued products, discontinued, ecommerce
**Requires at least:** 6.0
**Tested up to:** 6.6.2
**Stable tag:** 2.0.2
**Stable tag:** 2.0.3
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
4 changes: 2 additions & 2 deletions woocommerce-discontinued-products.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Enables WooCommerce Discontinued Products.
* Author: Leon @ 211J
* Author URI: http://211j.com/
* Version: 2.0.2
* Version: 2.0.3
* Text Domain: discontinued-products
* Domain Path: /languages
Expand All @@ -31,7 +31,7 @@
}

if ( ! defined( 'DP_VER' ) ) {
define( 'DP_VER', '1.1.7' );
define( 'DP_VER', '2.0.3' );
}

include DP_PATH . 'includes/class-discontinued-products.php';
Expand Down

0 comments on commit 04045d8

Please sign in to comment.