WPML

Overview of the Issue

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

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

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);
    	});
    }

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues