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

WordPress Trac noreply at wordpress.org
Wed Aug 16 23:34:47 UTC 2023


#59125: Quick editing date of draft post does not work
-----------------------------+------------------------------
 Reporter:  tristanleboss    |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |     Version:  6.3
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  javascript
-----------------------------+------------------------------

Comment (by tristanleboss):

 **Today, changing the date field of the Quick Edit panel of a draft post
 does absolutely nothing.
 No date is changed in the database: post_date is untouched and
 post_modified is changed with the current date.**

 ---

 What I don't understand is why such a change was done in the first place.
 It has been like that for 12 years and, all of a sudden, the behavior
 changes without any UX change. The #19907 ticket just collected 26
 comments in 12 years so clearly not a problem for many users.

 When you create content, you sometime know when you want to publish it (a
 news, a paid content, ...) so it was very convenient to be able to preset
 the publish date.

 ---

 On a UX side of things, it's impossible to expect Quick Edit to change the
 last edit date when the post is a draft and the publish date for all the
 other statuses.

 Especially, when I create a draft post with 6.3 (just typing a title and
 click "Save Draft" in Gutenberg), WP will create a post in the databse
 with post_date = date_of_the_creation and post_date_gmt = "0000-00-00
 00:00:00". So, there is already kind of a crappy publish date in the
 database.

 I don't understand how being able to change this already wrong date can be
 a problem?

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


More information about the wp-trac mailing list