Show language selection metabox also when automated translation is disabled
|Reported by:||Chema||Owned by:||ofer|
|Priority:||major||Milestone:||0.7 - Coming Major|
|Keywords:||post publish, language box||Cc:|
When editing a post or page, the language select box only appears if "automatic translation after posting" is enabled. It would be nice if it was available always, as not everyone wants the machine translation, but it's still necessary to specify the language of a post when it's not the default, to be able to translate it.
The patch creates a separate function for the language select box and on_edit action so they will always work, and also eliminates an "Undefined index: post" debug notice from new posts.