Include all users in customer lookup table generation.
This commit is contained in:
parent
c0e6a097fd
commit
149ee08f4b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue