mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 19:56:27 +09:00
- fixed updating display_name if there is set the User Display Name setting to Default WP Display Name in UM > General > Users > Display name;
- fixed typo in the password validation
This commit is contained in:
@@ -15,6 +15,14 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
class User {
|
||||
|
||||
|
||||
/**
|
||||
* Data that we will set before the update profile to compare it after update
|
||||
*
|
||||
* @var null
|
||||
*/
|
||||
public $previous_data = null;
|
||||
|
||||
|
||||
/**
|
||||
* User constructor.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user