Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Copying the content of a scheduled (future) post doesn't work #296
NOTE: this issue might be related to #295.
Steps to Reproduce
What I Expected
The translated post should have the same title, slug, post content, excerpt (and possibly featured image) as the original post.
What Happened Instead
Only the title and slug were copied. Post content, excerpt, and featured images remain empty.
If I apply the "solution" described in #295 (that is, re-copying the post and saving it using the Update button in the Publish meta box) doesn't work.
I looked at the source code and there are a couple of checks that might explain this behavior.
I think that adding said status in those if statements fixes the issue, but I'm not 100% sure (nor do I know if other parts of the code should be addressed).
added a commit
Nov 3, 2017
leaving aside all the things related to how Create new post works, you re right that scheduled posts cannot be translated right now.
We already fixed this for the new major version of MultilingualPress, but now I also included this to be released in the next minor update.
Thanks for reporting this,