- partially reviewed #1361;

This commit is contained in:
Mykyta Synelnikov
2023-12-01 00:30:37 +02:00
parent be9bb0f239
commit 2c5f396795
8 changed files with 24 additions and 25 deletions
+2 -2
View File
@@ -1497,8 +1497,8 @@ if ( ! class_exists( 'um\core\User' ) ) {
/**
* Set last login for new registered users
*/
function set_last_login() {
update_user_meta( $this->id, '_um_last_login', current_time( 'timestamp' ) );
public function set_last_login() {
update_user_meta( $this->id, '_um_last_login', current_time( 'mysql', true ) );
}
/**