Fixed code standard error.

This commit is contained in:
Julià Mestieri 2020-08-27 09:33:56 +02:00
parent 83434deb42
commit 12be6f3c96
1 changed files with 1 additions and 1 deletions

View File

@ -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() ) ) );
}
/**