Reported for: WPML Multilingual CMS 4.1.0

Resolved in: 4.1.1


When creating a post with the standard WordPress editor, after publishing and then going back to editing the post; adding a new block does not work.

The JavaScript console shows the following error:
ReferenceError: edit_form_change is not defined[Learn More] post.php:4720:21


This will be fixed in the upcoming version. Until then, you can use the following steps to resolve the issue:

  1. Locate the class-wpml-translate-independently.php file, found in the ../wp-content/plugins/sitepress-multilingual-cms/classes/ folder.
  2. Edit the file with a text editor.
  3. Scroll to line 12 and find the following line: add_filter( 'tiny_mce_before_init', array( $this, 'add_tiny_mce_change_detection' ), 999, 1 );
  4. Comment out (prepend a //) or delete this line.

One Response to “Unable to edit a post with standard WordPress editor”