Skip to content

Releases: 26B/unbabble

0.4.6

18 Jul 16:12
Compare
Choose a tag to compare

Added

  • Actions added to LangInterface:
    • ubb_post_language_set
    • ubb_post_language_change
    • ubb_post_source_set
    • ubb_post_source_delete
    • ubb_term_language_set
    • ubb_term_language_change
    • ubb_term_source_set
    • ubb_term_source_delete
  • Check for empty post ubb_source and delete it to prevent weird cases.

Fixed

  • Change null check to empty check in LangInterface::get_post_translations for $source_id to prevent errors from empty ubb_source's.
  • Fix post type missing in url when creating a translation.

0.4.5

18 Jul 07:59
Compare
Choose a tag to compare

Added

  • Search filter for link translations.
  • Add hidden input ubb_source for new menu's when linking.
  • Delete term's empty string ubb_source's from the DB if found.
  • Add handling for nav_menu language change.
  • Develop section on the README.md.
  • wp-env setup.
  • Update NodeJS to v18.
  • Replace ReactDOM.render() with createRoot to be compatible with React >17.
  • SearchWP integration.

Changed

  • Improved loading in link translations modal.

Fixed

  • Always include wp-admin/includes/plugin.php so we have is_active_plugin() in the front-end.
  • Directory routing in cases for routes with {directory}?{key}={value}.
  • Added missing return when terms are empty in LangInterface::get_terms_for_source.
  • Bulk edit not working on non english back-offices and for non post post types.
  • No language filters not showing up for non post post types.

0.4.4

15 Jul 20:21
Compare
Choose a tag to compare

Added

  • Dynamic options key handling for option proxying.

Fixed

  • Missing docblock for ubb_proxy_options filter.
  • Missing docblock for Admin\OptionsProxy::is_option_proxiable method.
  • Versions of docblocks in Admin\OptionsProxy.
  • Remove development assets and use production build assets instead.

0.4.3

12 Jul 17:08
Compare
Choose a tag to compare

Added

  • ElasticPress integration.
  • Query var ubb_lang_filter to stop language filter being added to query if value set to false.

Fixed

  • Bad language check in term language metabox for hiding creating and linking fields.

0.4.2

10 Jul 20:54
Compare
Choose a tag to compare

Added

  • Filter for terms without language or unknown languages in the back-office term list for translatable taxonomies.
  • Missing doc blocks from version 0.4.0.
  • Admin notices for when a term missing or with an unknown language.
  • Admin notice explaining the term filter for missing/unknown languages.
  • I18n icon to the language switcher HTML.

Changed

  • Hide create and link translations when language is unknown in language metaboxes for terms and posts.
  • Stop the archive admin notice for the existence of terms without language or with an unknown language showign when the filter is being applied.
  • Removed missing/unknown language filter check in Posts\LangFilter. Now done directly via the ubb_use_post_lang_filter filter.

Fixed

  • Fixed bad HTML for language metabox in the Menu customization page.
  • Setting term language when the term is missing language or has an unknown language in the term edit page.
  • Post edit page breaking when language is unknown.
  • Showing when post language is unknown in the language metabox in the post edit page.
  • Post's missing/unknown language filter not considering posts with unknown language.

0.4.1

05 Jul 12:00
Compare
Choose a tag to compare

Added

  • Fetching Unbbable's options value from other blogs (#43).

Fixed

  • Validating user session directly to show hidden languages (#76).

0.4.0

03 Jul 21:31
Compare
Choose a tag to compare

Added

  • Changing post's language via bulk edit (#66).
  • Filter for posts without language or unknown languages in the back-office post list for translatable post types (#69).
  • Filter ubb_translatable_routes for routes outside of post/term/archives that the user wants to be available in other languages when using the method LangInterface::translate_current_url() (#72).

Changed

  • Use transients in LangInterface to optimize fetching language and translations (#55, #60).
  • Improved language interface in post edit for setting language for posts without language or with an unknown language (#69).

Fixed

  • Broken translation linking on a new post in Gutenberg (#56).
  • Language metabox being enqueued for non-translatable post types (#57).
  • SQL bug in LangInterface::get_terms_for_source (#68).

0.3.1

22 Feb 16:04
Compare
Choose a tag to compare
  • Fixing issue with not checking if wp_get_available_translations function exists.

Full Changelog: 0.3.0...0.3.1

0.3.0

30 Jan 13:37
Compare
Choose a tag to compare
  • FIX: Fix issues when deleting attachments with no metadata.
  • Optimize fetching of posts/terms translations.
  • Breaking Changes: Return values of get_posts_for_source and get_terms_for_source changed.

Full Changelog: 0.2.3...0.3.0

0.2.3

16 Jan 17:34
Compare
Choose a tag to compare
  • FIX: fixing issues with back-office language switcher from changes introduced in version 0.2.2.

Full Changelog: 0.2.2...0.2.3