WPML
Status
Resolved
Type
Bug
Reported for
WPML Multilingual CMS 4.5.14
Resolved in
4.6.0
Topic tags
Bug

Overview of the issue

If you use the pagination system in Appearance → Menus → Posts, it will display mixed results from the default and secondary languages after the second page.

Workaround

Please, be sure to make a full backup of your site before proceeding.


  1. Open your functions.php theme file.

  2. Add the following snippet:
    if (defined('DOING_AJAX') && DOING_AJAX && !empty($_POST['action']) && 'menu-get-metabox' === $_POST['action']) {
    	add_action('pre_get_posts', function($query){
    		 $query->set('suppress_filters', false);
    	});
    }

All known issues