From 1670f9ae604976541fcece265dc51fce4cc0742b Mon Sep 17 00:00:00 2001 From: Manos Psychogyiopoulos Date: Wed, 19 Apr 2017 13:20:05 +0300 Subject: [PATCH] Fix typo in json_search_downloadable_products_and_variations --- includes/class-wc-ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php index 47d4d33cb0b..95f65ead5e9 100644 --- a/includes/class-wc-ajax.php +++ b/includes/class-wc-ajax.php @@ -1193,7 +1193,7 @@ class WC_AJAX { } if ( ! empty( $_GET['include'] ) ) { - $ids = array_intersect( $ids, (array) $_GET['exclude'] ); + $ids = array_intersect( $ids, (array) $_GET['include'] ); } if ( ! empty( $_GET['limit'] ) ) {