Skip to content

0.7.0

Latest

Choose a tag to compare

@azathcat azathcat released this 28 Jul 11:19

Fixed

  • Fixed not being able to delete a term without language in the back-office.
  • Fixed a bug when switching languages in the admin bar for menus.
  • Fixed wp_set_object_terms without append bug where terms of a different language or without language were not being cleared.
  • Fixed empty post type on edit.php for posts in Posts\BulkEdit::bulk_edit_messages.
  • Fixed missing variable (typo) $lang comparison in Directory::apply_lang_to_attachment_url method.
  • Fixed wrong condition on LangInterface::delete_post_source and LangInterface::delete_term_source methods when deleting a source and its translations.

Added

  • Add test coverage for main classes and methods.
  • Replaced WP_Mock with Brain\Monkey for better testing of WordPress functions and hooks.
  • Handle non-null $pre in Directory::pre_redirect_guess_404_permalink and QueryVar::pre_redirect_guess_404_permalink as already short-circuited.
  • Added validation for payload structure in Options::update_via_api method.