When saving a translation job, loops over only the job's meta fields and terms, and adds KSES to meta field values and term names.
When saving a translation job, sanitise the post data that's stored in the job meta. This is just so it's representative of the post data once it's saved with wp_update_post(). There is no need for manual sanitisation because this is handled inside wp_insert_post() and sanitize_post().
When saving the language settings, sanitise the display name, URL prefix, active langs, and public langs.
See #227.
This implements the following:
wp_update_post()
. There is no need for manual sanitisation because this is handled insidewp_insert_post()
andsanitize_post()
.