[wp-meta] [Making WordPress.org] #4237: Rejected plugins show wrong last_updated date

Making WordPress.org noreply at wordpress.org
Wed May 8 03:50:11 UTC 2019


#4237: Rejected plugins show wrong last_updated date
------------------------------+-----------------------
 Reporter:  Ipstenu           |       Owner:  ck3lee
     Type:  defect            |      Status:  assigned
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  has-patch         |
------------------------------+-----------------------

Comment (by ck3lee):

 Thank you for your clarification, @Ipstenu! Hope this works.

 With attachment:4237.1.diff:

 * When status changes, always update the current timestamp with `time()`
 instead of `post_modified_gmt`.
 * When status changes to `approved` or `rejected`, update the
 `last_updated` meta value with the current timestamp using time().
 * ~~When plugin is imported, set _submitted_date.~~

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


More information about the wp-meta mailing list