[wp-meta] [Making WordPress.org] #3511: Sometimes Status_Transitions::transition_post_status() stores the date as -62169984000
Making WordPress.org
noreply at wordpress.org
Wed Mar 14 05:12:06 UTC 2018
#3511: Sometimes Status_Transitions::transition_post_status() stores the date as
-62169984000
------------------------------+-----------------
Reporter: dd32 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+-----------------
While investigating some off numbers in the stats report, i found
something off in the date data we're storing.
Sometimes Status_Transitions::transition_post_status() stores the date as
-62169984000 on this line:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/plugin-directory/admin/class-status-
transitions.php?rev=6534&marks=152,153#L121
`-62169984000` is `strtotime( '0000-00-00 00:00:00' )`.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3511>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list