Merge pull request #21581 from codemascot/161018-131105-class-wc-ajax.php

Removed unnecessary variable.
This commit is contained in:
Mike Jolley 2019-01-07 12:43:40 +00:00 committed by GitHub
commit 05de936932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1430,8 +1430,7 @@ class WC_AJAX {
}
$term = wc_clean( wp_unslash( $_GET['term'] ) );
$exclude = array();
$limit = '';
$limit = 0;
if ( empty( $term ) ) {
wp_die();