Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 15 replies, has 3 voices.

Last updated by George Botsev 4 years, 11 months ago.

Assigned support staff: George Botsev.

Author Posts
February 6, 2017 at 1:31 pm #1200377

George Botsev
Supporter

Languages: English (English )

Timezone: Europe/Sofia (GMT+02:00)

Hello, I am George from second tier support.
Thank you for reporting this problem - I have escalated it to our developers and it will be fixed in the next release of WPML.
Until then, you can go to: wp-content/plugins/sitepress-multilingual-cms/inc/wpml-post-edit-ajax.class.php
in the function wpml_save_term_action() and change the code:
{code}
$description = filter_var( $_POST['description'], FILTER_SANITIZE_NUMBER_INT );
{code}
To this code:
{code}
$description = filter_var( $_POST['description'], FILTER_SANITIZE_STRING );
{code}
This should fix the problem and you should have the proper descriptions once you re-translate them.