Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Indicate if "copy source post" button was used when saving a post #169

Closed
Biont opened this issue Sep 11, 2015 · 0 comments
Closed

Indicate if "copy source post" button was used when saving a post #169

Biont opened this issue Sep 11, 2015 · 0 comments

Comments

@Biont
Copy link
Member

Biont commented Sep 11, 2015

I would like to suggest adding a flag to the Advanced Translator that toggles when the user presses the "copy source" button. It would probably be nothing more than a hidden input field and a line of JS code.

When the post is saved and translations are updated/created you could then use that info to perform an "initial sync" of post data (Attachments, Shortcodes, Post Meta, ...). It does not make sense to do this for every single post update because users may choose to manually overwrite the results afterwards.
#140 might already allow us to do many of the suggested actions, but it certainly cannot hurt to have this little piece of data available when actually saving the post as well.

@tfrommen tfrommen self-assigned this Jan 22, 2016
@tfrommen tfrommen added this to the v2.4.0 milestone Jan 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants