Releases: 26B/unbabble
Releases · 26B/unbabble
0.5.6
0.5.5
Removed
- Post\Term
ubb_source
deletion when it returns empty. It was causing random unlinks.
0.5.4
Changed
- Always add lang query arg to admin urls in Directory routing mode.
Fixed
- REST API 404's on non-main sites in WordPress multisite network when directory routing was active and the lang query var passed was a non default language.
0.5.3
Added
- Filter
ubb_possible_links_filter_sql
to add to the query for possible post links.
Fixed
- Transient issues on post/term languages with
null
value conversion to''
. YoastDuplicatePost
issues with cleaning possibleubb_source
in rewrite republish posts and not showing them in the possible linking results.
0.5.2
Fixed
- Set lang directory in REST url when in admin to fix Block Editor requests for posts/terms.
0.5.1
Changed
- Lang url parameter set in language switch regardless of language not being default.
0.5.0
Added
- Check for empty transient value when fetching term language.
- Constant
UBB_SETTINGS_READONLY
for read only settings in the backoffice settings page. - Internal option
ubb_settings_manual_changes
for keeping track if manual changes have been made to the settings. - Allow for duplicate term slugs in different languages.
Changed
- Improved get post language handling of empty values.
- Options in options page are now modifiable from the values set in the
ubb_options
filter. - API rest url when Unbabble is set to directory routing no longer has the language directory applied.
- Hide post metabox actions when editing a Yoast's rewrite-republish copy.
Fixed
- Term language set when term has no language.
- Missing post type in url when creating a term translation to stay in the same post type Menu.
- WordPress url variables where being lost when redirecting a term on its edit page.
- Language not being set for post tags created in post quick edits.
- No Language filter is now kept selected when using the search box for post types/taxonomies in their admin list.
- Meta
ubb_source
no longer set for Yoast's rewrite republish posts when migrating via the WPML migrator.
0.4.8
Added
- Checks for empty edit links, and non existent post/terms, when redirecting edit post/term links for the correct language.
Changed
- Improved query for possible sources to link to, via the API.
- Delay fetching of possible sources in the post edit metabox until modal is opened.
0.4.7
Removed
- Removed
check_term_slug_exists
method inTerms\NewTerm.php
.
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.