- 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:
Nikita Sinelnikov
2021-09-21 18:26:57 +03:00
parent 7aa8efefff
commit fc92903f97
6 changed files with 104 additions and 10 deletions
+8
View File
@@ -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.
*/