Skip to content

Version 3.1.0

Latest

Choose a tag to compare

@lloc lloc released this 31 Oct 13:48
· 4 commits to master since this release

New

  • The switcher keeps the page of a paginated request. A visitor on page 3 of an archive is sent to page 3 of the translated archive instead of the first page, for pages of an archive as well as for a post that is split by <!--nextpage-->.
  • A page is only added when the other blog has it. The new Options::get_max_pages() decides that, and a link which would be out of range still points to the first page.
  • msls_preserve_pagination switches the feature off, msls_pagination_max_pages corrects the number of pages MSLS calculates, and msls_pagination_get adjusts the finished link.
  • msls_translation_picker_menu hides the "Add from Translation" entry in the menu of a post type
  • msls_translation_picker_button hides the button next to "Add New". Both get the post type, so a network that only translates pages can keep the entry points there and drop them everywhere else.

Fixed

  • Add from Translation" entry in the admin menu now follows "Add New" instead of sitting between "All Posts" and "Add New".
  • PHP 8.4 raised deprecation notices on every page load. They came from the bundled PHP-DI library, which the plugin no longer ships.
  • Three parameters of the content import were declared in a way that PHP 8.4 deprecates.