Make WordPress Core

Opened 22 months ago

Closed 19 months ago

Last modified 4 months ago

#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:

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

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


22 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
22 months ago

  • Keywords needs-testing added

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


20 months ago

#6 @audrasjb
20 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
19 months ago

  • Owner changed from cadic to oglekler

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


19 months ago

#10 @oglekler
19 months ago

  • Keywords commit added

This is already committed in one patch with another fix.

#11 follow-up: @audrasjb
19 months ago

  • Keywords commit removed
  • Resolution set to fixed
  • Status changed from assigned to closed

#12 in reply to: ↑ 11 @oliverharris786
4 months ago

Replying to audrasjb:

Thanks, for help.https://baddiehub.news/

Last edited 4 months ago by oliverharris786 (previous) (diff)
Note: See TracTickets for help on using tickets.