Include all users in customer lookup table generation.

This commit is contained in:
Jeff Stieler 2019-01-16 10:20:11 -07:00
parent c0e6a097fd
commit 149ee08f4b
1 changed files with 0 additions and 2 deletions

View File

@ -535,7 +535,6 @@ class WC_Admin_Api_Init {
$customer_query = new WP_User_Query( $customer_query = new WP_User_Query(
array( array(
'fields' => 'ID', 'fields' => 'ID',
'role' => 'customer',
'number' => 1, 'number' => 1,
) )
); );
@ -561,7 +560,6 @@ class WC_Admin_Api_Init {
$customer_query = new WP_User_Query( $customer_query = new WP_User_Query(
array( array(
'fields' => 'ID', 'fields' => 'ID',
'role' => 'customer',
'orderby' => 'ID', 'orderby' => 'ID',
'order' => 'ASC', 'order' => 'ASC',
'number' => $batch_size, 'number' => $batch_size,