WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.0.3
Resolved in
4.0.4

Overview of the issue

You might encounter a performance issue when saving a post that uses certain page builders.

We have identified the problem and it will be fixed in our next release of WPML.

The issue is caused by running save actions on AJAX request and can be fixed by applying the patch presented below.

Workaround

Edit the class-wpml-pb-string-translation.php file found in the ../sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/ folder.

Remove the following code at lines 30, 31 and 32:

 if ( defined( 'DOING_AJAX' ) && DOING_AJAX || defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) {
$this->save_translations_to_post();
}

 

 

All known issues →