made comparison strict

#11326
This commit is contained in:
Mike Jolley 2016-08-04 13:09:21 +01:00
parent 8e6ca3effe
commit 75895f71f9
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ function wc_query_string_form_fields( $values = null, $exclude = array(), $curre
$values = $_GET;
}
foreach ( $values as $key => $value ) {
if ( in_array( $key, $exclude ) ) {
if ( in_array( $key, $exclude, true ) ) {
continue;
}
if ( $current_key ) {