[wp-trac] [WordPress Trac] #48097: Fix `user_registered` in WP_Insert_User function
WordPress Trac
noreply at wordpress.org
Sat Sep 21 14:06:09 UTC 2019
#48097: Fix `user_registered` in WP_Insert_User function
-----------------------------------------+------------------------------
Reporter: mehrshaddarzi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch => has-patch reporter-feedback
Comment:
Hi @mehrshaddarzi, welcome to WordPress Trac! Thanks for the patch.
Looking at the [source:tags/5.2.3/src/wp-
includes/user.php?marks=1767,1768#L1751 documentation for
wp_pre_insert_user_data filter], the `user_registered` parameter is
intentionally a UTC timestamp, not a local time.
Could you describe the problem the patch solves?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48097#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list