[wp-trac] [WordPress Trac] #32386: Draft's Last Modified date incorrect if it is Scheduled

WordPress Trac noreply at wordpress.org
Mon May 18 14:57:55 UTC 2015


#32386: Draft's Last Modified date incorrect if it is Scheduled
--------------------------+---------------------------------
 Reporter:  lastnode      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  4.2.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by yoavf):

 * keywords:  2nd-opinion has-patch => has-patch


Comment:

 Totally makes sense to me - it doesn't make sense for `last_modified` to
 be a future date for drafts. I've just cleaned up the patch as per the php
 coding standards in [attachment: 32386.diff]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32386#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list