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