Merge pull request #17237 from woocommerce/fix/17235

Coupon user limit check fix
This commit is contained in:
Mike Jolley 2017-10-16 21:15:15 -07:00 committed by GitHub
commit fecf950a98
1 changed files with 5 additions and 3 deletions

View File

@ -1495,9 +1495,11 @@ class WC_Cart extends WC_Legacy_Cart {
$users_query = new WP_User_Query( array(
'fields' => 'ID',
'meta_query' => array(
'key' => '_billing_email',
'value' => $check_emails,
'compare' => 'IN',
array(
'key' => '_billing_email',
'value' => $check_emails,
'compare' => 'IN',
),
),
) );