Post Date hard set on server when saving a Draft
|Reported by:||alexkingorg||Owned by:||daniloercoli|
When creating a draft post from one of the WordPress iOS apps the post date is set to an explicit time/date (the current time/date) when you save a draft post back to the server.
I would expect not setting the post date/time explicitly in the iOS app to have the same effect as not setting the post date/time explicitly in the WP web admin interface. If you do not set the post date/time explicitly, it is not set and hitting publish will then populate the current date/time value.
This becomes a problem in the scenario where you save a draft with some notes from your iPhone, then edit this post in the WP web admin interface to finish it up. If you simply hit the Publish button as normal in the the web admin interface, you will publish the post in the past (at the time/date the draft was pushed to the server).
This is further complicated because the date of the post will often have an effect on the post's URL. If you use a URL structure such as:
then the URL will likely change once you realize what has happened and fix the date. If you are pushing your posts to any other sources (Twitter, Facebook, etc.) then this becomes an additional problem because the URL that is initially sent to those services may no longer work.
This happens on both iPhone/iPod and iPad.
Change History (20)
comment:2 Changed 4 years ago by daniloercoli
- Owner set to daniloercoli
- Status changed from new to assigned
comment:3 Changed 4 years ago by daniloercoli
- Resolution set to fixed
- Status changed from assigned to closed
comment:5 Changed 4 years ago by daniloercoli
- Resolution fixed deleted
- Status changed from closed to reopened
comment:17 Changed 2 years ago by koke
- Component changed from Publishing to XML-RPC
- Priority changed from major to minor
comment:19 Changed 15 months ago by sendhil
- Resolution set to duplicate
- Status changed from reopened to closed