Merge pull request #21304 from woocommerce/fix/customer-list-query

Fix customer list query
This commit is contained in:
Claudiu Lodromanean 2018-09-10 09:42:01 -07:00 committed by GitHub
commit ac24982e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class WC_Report_Customer_List extends WP_List_Table {
*/
$admin_users = new WP_User_Query(
array(
'role' => 'administrator1',
'role' => 'administrator',
'fields' => 'ID',
)
);