Reported for: WPML Multilingual CMS 4.6.3
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.
This issue occurs due to certain hooks not firing as expected during the REST request when adding the widget.
- Add your legacy widget.
- Set the Display on language property to any language and save the widget once.
- Refresh the page.
- Now, save your Display on language property again.
The language setting should now be retained as expected after this procedure.