Make WordPress Core

#57947 closed defect (bug) (fixed)

Publishing draft posts via Bulk Edit should publish them with the current date

Reported by: oglekler's profile oglekler Owned by: oglekler's profile oglekler
Milestone: 6.3 Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: has-patch has-unit-tests needs-testing
Focuses: ui Cc:


When publishing Draft posts via Bulk Edit date of post isn't changed and posts are published with the last date they have.

When user is publishing something, he/she expects this to be fresh on the block news and not be published on time what it was drafted. I imagine that user can prepare something and sitting on it waiting for right timing and then publish. If the time gap is not big he/she cannot even notice that it was published at past but in some cases date is matter for users and SEO as well and inaccurate dates can be potentially looks like tricks from the site owner or caching bug.

This is saparate issue found during #31635 discussion.

@cadic is working on the patch

There is also related issue #19907

Change History (11)

This ticket was mentioned in PR #4237 on WordPress/wordpress-develop by @cadic.

16 months ago

  • Keywords has-patch has-unit-tests added

Updated bulk_edit_posts(): scheduled posts will be published immediately if post status is set to "publish" on the bulk edit.

Added unit tests to cover this behaviour

Trac ticket:

#4 @oglekler
16 months ago

  • Keywords needs-testing added

This ticket was mentioned in Slack in #core by oglekler. View the logs.

14 months ago

#6 @audrasjb
14 months ago

  • Milestone changed from Awaiting Review to 6.3

Has a patch and unit test cases, let move it for 6.3 consideration :)

#7 @oglekler
13 months ago

  • Owner changed from cadic to oglekler

This ticket was mentioned in Slack in #core by chaion07. View the logs.

13 months ago

#10 @oglekler
12 months ago

  • Keywords commit added

This is already committed in one patch with another fix.

#11 @audrasjb
12 months ago

  • Keywords commit removed
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.