Make WordPress Core

Opened 3 months ago

Last modified 3 weeks ago

#57947 assigned defect (bug)

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

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

Description

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 (6)

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


3 months ago
#3

  • 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: https://core.trac.wordpress.org/ticket/57947

#4 @oglekler
2 months ago

  • Keywords needs-testing added

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


3 weeks ago

#6 @audrasjb
3 weeks ago

  • Milestone changed from Awaiting Review to 6.3

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

Note: See TracTickets for help on using tickets.