mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- partially reviewed #1361;
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user