mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
clean up function
This commit is contained in:
@@ -46,6 +46,7 @@ if ( ! class_exists( 'User' ) ) {
|
||||
'user_pass',
|
||||
'user_password',
|
||||
'display_name',
|
||||
'user_url',
|
||||
'role',
|
||||
);
|
||||
|
||||
@@ -953,16 +954,6 @@ if ( ! class_exists( 'User' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* A plain version of password
|
||||
*
|
||||
* @param $plain
|
||||
*/
|
||||
function set_plain_password( $plain ) {
|
||||
update_user_meta( $this->id, '_um_cool_but_hard_to_guess_plain_pw', $plain );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set last login for new registered users
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user