Language meta field not being saved correctly on tutorials #1172
Labels
[Component] Content
Website development issues related to the content on Learn.
[Component] Learn Plugin
Website development issues related to the Learn plugin.
Priority - High
High priority issue.
[Type] Bug
Something isn't working on the Learn website.
Projects
When saving a new tutorial, the default language is set to 'English', so we would naturally leave it unchanged for new tutorials in English. However, it doesn't seem to save the language properly to the post meta. This causes a problem where the tutorial doesn't show up in the archive after saving because the archive query checks that the language meta field has been set.
The fix is to change it to any other language, save the post, change it back to English, and then save the post again. It's easy to work around, but also easy to forget and quite an annoying issue.
The text was updated successfully, but these errors were encountered: