Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Include all users in customer lookup table generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffstieler committed Jan 16, 2019
1 parent 6c2e4bc commit 476c632
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/class-wc-admin-api-init.php
Expand Up @@ -535,7 +535,6 @@ public static function customer_lookup_batch_init() {
$customer_query = new WP_User_Query(
array(
'fields' => 'ID',
'role' => 'customer',
'number' => 1,
)
);
Expand All @@ -561,7 +560,6 @@ public static function customer_lookup_process_batch( $batch_number ) {
$customer_query = new WP_User_Query(
array(
'fields' => 'ID',
'role' => 'customer',
'orderby' => 'ID',
'order' => 'ASC',
'number' => $batch_size,
Expand Down

0 comments on commit 476c632

Please sign in to comment.