mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 22:23:37 +09:00
- Fixed: Vulnerability with timestamp field on UM Forms
- changed readme;
This commit is contained in:
@@ -1228,7 +1228,7 @@ 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' ) );
|
||||
update_user_meta( $this->id, '_um_last_login', current_time( 'timestamp' ) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user