This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Patrick
/
acaresydney_ts
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
dont updat password for existing users
master
patrick
6 years ago
parent
9eec35a6d1
commit
608c5e6715
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ts.php
+ 1
- 0
ts.php
View File
@@ -116,6 +116,7 @@ class AcareOffice{
wp_insert_user($args);
}else{//update user
$args['ID'] = $user->ID;
unset($args['user_pass']); //we don't change password
wp_update_user($args);
}
}
Write
Preview
Loading…
Cancel
Save