WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.6.3
Resolved in
WPML 4.9
Topic tags
Bug

Overview of the issue

When adding a legacy widget and setting the Display on language option to a specific language, the language setting is not retained after saving and refreshing the page.

Workaround

This issue occurs due to certain hooks not firing as expected during the REST request when adding the widget.
As workaround:


  1. Add your legacy widget.

  2. Set the Display on language property to any language and save the widget once.

  3. Refresh the page.

  4. Now, save your Display on language property again.
    The language setting should now be retained as expected after this procedure.

All known issues →