-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restored Draft Posts, when Published, Disregard Publish Date Setting #12121
Comments
So currently, deleting a draft sets the publish date to when you deleted it. Restoring the draft and then publishing it then uses that deleted date. If that's intended then we're good now. If we mean to keep the date that the draft was written (not deleted), then there's still a bug although perhaps a different one. Tested on iPhone 12 Mini, iOS 14.4.1, WPiOS 17.0 |
@illusaen Thanks for checking in on this! The current behavior on WordPress.com is that restoring a deleted draft retains the date the draft was last edited. For example: However, in WPiOS, deleting a draft changes the "Last Modified" date to the time of deletion. For example: On Android, the "trashed" date is also used for the publish date. However, the "Last Modified" date doesn't change when the post is restored. So, if we want to have parity with WordPress.com, we should keep the original "Last Modified" date. However, that behavior seems strange to me, and in addition is not aligned with WPAndroid. @startuptester Would you weigh in on this? My instinct is to close the issue, given it that:
|
No longer applies because "Publish Date" field is no longer displayed for Drafts and you have to change it right before publishing if you need to. |
Expected behavior
When I restore a post from the Trash, it will maintain its original publish date settings.
Actual behavior
When I restore a post which was originally a draft, publish date settings are maintained. However, when I then publish that draft, publish date settings are ignored and it states that I published the post today.
Steps to reproduce the behavior
Reported in #2175316-zen.
Here's a gif from my testing process:
Tested on iPhone SE, (iOS 12.2) running WPiOS 12.8 (beta)
The text was updated successfully, but these errors were encountered: