Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is using the shortcode [wpml_disabled_selector_widget] to display the language switcher on their site. However, when the translator, who has the subscriber role, translates content using the classic translation editor, the translated content shows the shortcode as [wpml_disabled_selector_widget] with an error message "You're not allowed to use this shortcode." in the front end.
Solution:
We investigated whether this issue was specific to the client's website or a general bug. We suggested testing with only the Divi parent theme and WPML plugins enabled to isolate the issue. Additionally, we identified that the problem stems from the 'unfiltered_html' permission in WordPress, which is not granted to users with the subscriber role for security reasons. This permission prevents certain users from using advanced HTML or scripts in posts. We recommended using the Advanced Translation Editor (ATE), which does not have this limitation, and ensuring all translations are re-sent and re-translated using ATE.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum for further assistance.

0% of people find this useful.

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.

Tagged: 

This topic contains 24 replies, has 0 voices.

Last updated by Dražen 1 week, 3 days ago.

Assisted by: Dražen.

Author Posts
June 27, 2025 at 8:17 am #17176408

John-Pierre Cornelissen

1) thank you
2) sure!

June 27, 2025 at 9:57 am #17176889

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked and added constant again and it works fine, not sure if I missing something.

Video: hidden link

Can you please check if it works fine now?

Regards,
Drazen

June 27, 2025 at 2:27 pm #17177864

John-Pierre Cornelissen

Hi, thanks. Yes now it works.

I compared the old and new wp_config and the constant is exactly the same, the only difference is that it is higher up in the file now. Did it not work before because I added it all the way at the end?

JP

June 27, 2025 at 3:19 pm #17178089

Dražen
Supporter

Languages: English (English )

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

Hello,

great, glad to hear it works now.

I am not sure to be fair, it might be that or it was between some comment tags.

Anyway, I am waiting for a reply from my team and I when I have some news and 2nd opinion I will update, since it is weekend it might not be before Monday.

Regards,
Drazen

July 14, 2025 at 7:03 am #17231738

John-Pierre Cornelissen

Hi, any news on this?

July 14, 2025 at 8:19 am #17232101

Dražen
Supporter

Languages: English (English )

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

Hello,

let me check again with our time and I will get back to you.

Regards,
Drazen

July 14, 2025 at 11:21 am #17233450

Dražen
Supporter

Languages: English (English )

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

Hi,

Thank you for your patience.

The issue has been escalated to our development team. However, at this time, we’re unable to provide a specific ETA for a fix. Please also note that the status of the issue may change over time.

I’ll keep this ticket open and will make sure to update you as soon as there’s any progress. Given the current priorities, it may take several months or more before this is resolved.

Thank you for your understanding.

Best regards,
Drazen

July 22, 2025 at 11:29 am #17259014

Dražen
Supporter

Languages: English (English )

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

Hello,

Just to update, the fix will be released in WPML 4.8 version, which is next version and scheduled in couple of weeks.

Regards,
Drazen

July 22, 2025 at 2:08 pm #17259700

John-Pierre Cornelissen

Awesome, thank you

July 23, 2025 at 8:24 am #17262586

Dražen
Supporter

Languages: English (English )

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

Hello,

I will be closing this ticket now, feel free to contact us again if any WPML issue.

Regards,
Drazen