[wp-meta] [Making WordPress.org] #3511: Sometimes Status_Transitions::transition_post_status() stores the date as -62169984000

Making WordPress.org noreply at wordpress.org
Fri Dec 1 04:57:09 UTC 2023


#3511: Sometimes Status_Transitions::transition_post_status() stores the date as
-62169984000
------------------------------+---------------------
 Reporter:  dd32              |       Owner:  dd32
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:  fixed
 Keywords:                    |
------------------------------+---------------------

Comment (by dd32):

 In [changeset:"12991" 12991]:
 {{{
 #!CommitTicketReference repository="" revision="12991"
 Plugin Directory: When storing status transition timestamps, always use
 the current timestamp.

 When a transition event occurs, the modified date might not actually be
 correct, as `Plugin_Directory::filter_wp_insert_post_data()` respects the
 passed timestamp, and some actions (such as approving a plugin) don't
 intentionally increase the modification date.

 Previously: [6873]
 See #3511
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3511#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list