Merge pull request #21581 from codemascot/161018-131105-class-wc-ajax.php
Removed unnecessary variable.
This commit is contained in:
commit
05de936932
|
@ -1429,9 +1429,8 @@ class WC_AJAX {
|
||||||
wp_die( -1 );
|
wp_die( -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
$term = wc_clean( wp_unslash( $_GET['term'] ) );
|
$term = wc_clean( wp_unslash( $_GET['term'] ) );
|
||||||
$exclude = array();
|
$limit = 0;
|
||||||
$limit = '';
|
|
||||||
|
|
||||||
if ( empty( $term ) ) {
|
if ( empty( $term ) ) {
|
||||||
wp_die();
|
wp_die();
|
||||||
|
|
Loading…
Reference in New Issue