Fixed code standard error.
This commit is contained in:
parent
83434deb42
commit
12be6f3c96
|
@ -898,7 +898,7 @@ function wc_update_user_last_active( $user_id ) {
|
|||
if ( ! $user_id ) {
|
||||
return;
|
||||
}
|
||||
update_user_meta( $user_id, 'wc_last_active', (string) strtotime( date( 'Y-m-d', time() ) ) );
|
||||
update_user_meta( $user_id, 'wc_last_active', (string) strtotime( gmdate( 'Y-m-d', time() ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue