Skip to content Skip to sidebar

Open

Reported for: WPML Multilingual CMS 4.6.9

Topic Tags: ATE, Bug

Overview of the issue

If you change the default WordPress REST API URL prefix from wp-json to a custom value, it can cause that the Advanced Translation Editor (ATE) doesn’t work correctly, preventing translation jobs from loading.

Workaround

To resolve this issue, add a Must-Use Plugin (mu-plugin) in your …/wp-content/mu-plugins/ directory with the following content:

1
2
3
4
5
<?php
add_filter('rest_url_prefix', function () {
    return 'your-desired-rest-endpoint-prefix';
});
?>

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>