Releases: 26B/unbabble
Releases · 26B/unbabble
0.4.6
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
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()
withcreateRoot
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 haveis_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
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
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
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 theubb_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
0.4.0
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 methodLangInterface::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
0.3.1
- Fixing issue with not checking if
wp_get_available_translations
function exists.
Full Changelog: 0.3.0...0.3.1
0.3.0
- FIX: Fix issues when deleting attachments with no metadata.
- Optimize fetching of posts/terms translations.
- Breaking Changes: Return values of
get_posts_for_source
andget_terms_for_source
changed.
Full Changelog: 0.2.3...0.3.0
0.2.3
- FIX: fixing issues with back-office language switcher from changes introduced in version 0.2.2.
Full Changelog: 0.2.2...0.2.3