PublishPress-Planner
PublishPress-Planner copied to clipboard
Floating Publish Date on Custom Status
When a post move to custom status, it did not keep floating publish date. The default status keep the floating date.
Step to replicate:
-
Create new post
-
Save to custom status
-
Observe issue the publish date is set
-
This does not happen in default status (e.g. draft)
See below video:
CURRENT BEHAVIOR:
https://user-images.githubusercontent.com/83811723/203694823-539bc81e-8cde-4cec-92f6-c57119950571.mov
EXPECTED BEHAVIOR: The date still show "immediately" upon save on custom status
https://user-images.githubusercontent.com/83811723/203694849-4327126f-e57c-4728-91f7-4bfc61395e72.mov
Ticket: 171781
Client mentioned this that might be useful reference: https://github.com/WordPress/gutenberg/blob/dc107885fec50ab7417afcb545d97cd63cbc9577/packages/editor/src/store/selectors.js#L647-L664
https://github.com/WordPress/gutenberg/issues/13176