[wp-trac] [WordPress Trac] #19907: Updating an unpublished draft post in quick-edit mode sets the post's publish date

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 27 14:51:32 UTC 2012


#19907: Updating an unpublished draft post in quick-edit mode sets the post's
publish date
-----------------------------+-------------------------------------
 Reporter:  uxtremist        |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |    Version:  3.3.1
 Severity:  normal           |   Keywords:  needs-patch ux-feedback
-----------------------------+-------------------------------------
 '''Problem:'''

  • If you update an unpublished draft post in quick-edit mode, the post's
 ''publish date'' is saved. [[BR]]
  • Then, later on, when you actually publish the post, its publish date is
 incorrect.

 '''Suggested fix:'''

  • If the post is a draft, do not automatically set the post's publish
 date in quick-edit mode.

 '''Steps to reproduce:'''

 (1) Go to WP-Admin -> Posts.

 (2) Create and save a new post. Make sure you click "Save Draft" — not
 "Publish".

 (3) Note that the post is marked as "Publish immediately"; that is, it has
 no publish date.

 (4) Go back to WP-Admin -> Posts.

 (5) Hover your pointer over the post you just created. Click "Quick Edit".
  — Note that in the panel that appears, the "Date" field is automatically
 set to [the current date and time].

 (6) Click "Update" in quick-edit mode.

 (7) Hover your pointer over the post you just updated. Click "Edit".
  — Note that in the Edit Post page that appears, the post is now marked as
 "Publish on: [the date and time from step (5)]"

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19907>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list