[wp-trac] [WordPress Trac] #59125: Quick editing date of draf post does not work

WordPress Trac noreply at wordpress.org
Wed Aug 16 21:45:31 UTC 2023


#59125: Quick editing date of draf post does not work
---------------------------+-----------------------------
 Reporter:  tristanleboss  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  6.3
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Hello,
 Using a fresh WP 6.3 setup with no plugins nor themes:
 - create a draft post
 - go back to the list of post
 - quick edit this post and change the date post year (for example)
 - press the "Save" button
 - the save succeed but the date is not saved: the date is still the old
 one

 It's an unexpected behavior. 1) You can clearly edit the date in the UI.
 2) It's perfectly sane to want to set a draft date so you know when you
 will have the post published in the future.

 I maybe wrong but I have the feeling it's missing
 "hidden_(aa|jj|mm|hh|mn|ss)" hidden input fields. Indeed, in the
 `_wp_translate_postdata` function, to be able to trigger the edit date
 code, it needs those fields. There is a foreach checking for their
 existence.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59125>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list