#3511 closed defect (bug) (fixed)
Sometimes Status_Transitions::transition_post_status() stores the date as -62169984000
Reported by: | dd32 | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
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' )
.
Note: See
TracTickets for help on using
tickets.
In 6873: