mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-30 02:32:07 +08:00
Fixed error.
This commit is contained in:
parent
4bdcc1b707
commit
74fdc2b628
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ class MainWP_Child_Users {
|
|||
continue;
|
||||
}
|
||||
|
||||
$user_query = new WP_User_Query(
|
||||
$user_query = new \WP_User_Query(
|
||||
array(
|
||||
'search' => $_POST['search'],
|
||||
'fields' => 'all_with_meta',
|
||||
|
@ -512,7 +512,7 @@ class MainWP_Child_Users {
|
|||
}
|
||||
|
||||
if ( $send_password ) {
|
||||
$user = new WP_User( $new_user_id );
|
||||
$user = new \WP_User( $new_user_id );
|
||||
|
||||
$user_login = stripslashes( $user->user_login );
|
||||
$user_email = stripslashes( $user->user_email );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue