[wp-trac] [WordPress Trac] #59125: Quick editing date of draft post does not work
WordPress Trac
noreply at wordpress.org
Sat Sep 30 02:29:58 UTC 2023
#59125: Quick editing date of draft post does not work
-------------------------------------------------+-------------------------
Reporter: tristanleboss | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.3.2
Component: Quick/Bulk Edit | Version: 6.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses: javascript
tests has-testing-info |
-------------------------------------------------+-------------------------
Changes (by joedolson):
* keywords: has-patch needs-testing dev-feedback has-unit-tests => has-
patch needs-testing has-unit-tests has-testing-info
Comment:
PR 5025 just reverses in PHP the change made in JS, so it still causes the
original problem from #19907. So I don't think that's a viable fix.
PR 5062, however, does fix both the original problem and the new issue.
However, it needs tests updates. Whether or not quick edit saves a post
date is now conditional on whether a date was passed that's different from
the previous date, and the test passes a new value. I've added new tests
and rebased the PR on trunk.
Testing:
1) Confirm that the test in #19907 result in an unchanged post date.
2) Confirm that the test steps in this report result in a changed post
date.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59125#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list