Resolved
Reported for: WPML Multilingual CMS 4.5.14
Resolved in: 4.6.0
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.
- Open your functions.php theme file.
- 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); }); }