Updating an unpublished draft post in quick-edit mode sets the post's publish date
|Reported by:||uxtremist||Owned by:|
|Component:||Quick/Bulk Edit||Keywords:||has-patch needs-unit-tests editorial-flow|
- If you update an unpublished draft post in quick-edit mode, the post's publish date is saved.
- Then, later on, when you actually publish the post, its publish date is incorrect.
- 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)]"
Change History (23)
- Milestone changed from Awaiting Review to 3.4
- Severity changed from normal to major
comment:2 @SergeyBiryukov — 4 years ago
- Keywords has-patch added; needs-patch removed
- Version changed from 3.3.1 to 2.7