[wp-trac] [WordPress Trac] #48097: Fix `user_registered` in WP_Insert_User function
WordPress Trac
noreply at wordpress.org
Thu Oct 3 07:48:11 UTC 2019
#48097: Fix `user_registered` in WP_Insert_User function
---------------------------+----------------------
Reporter: mehrshaddarzi | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Date/Time | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
---------------------------+----------------------
Changes (by Rarst):
* keywords: has-patch reporter-feedback =>
* resolution: => invalid
* status: new => closed
* component: Users => Date/Time
* milestone: Awaiting Review =>
Comment:
For some reason I got a really delayed ping...
Sergey is correct, user creation times are explicitly meant to be in UTC
in database. I don't know ''why'', but that's the way it is set up and
documented. :)
These are ''not'' consistent with posts table, e.g. there are not separate
local and UTC time fields.
I suspect there very well might be issues with ''treating'' them as local
time here and there through, core. If so that should be reported and fixed
as output bug. The storage is working as documented.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48097#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list