Toolset – Types – Version – 3.3.11

Toolset Types 3.3.11
Released: June 16, 2020

Fixes

Fixed the field validation in block editor that was not working properly if used in combination with conditional field display.
Fixed an issue that was producing a fatal error when using the toolset_get_relationships() API function and querying by the intermediary post type.
Fixed an issue with custom WPML language flags being displayed in original size in various places in Types.
Fixed the taxonomy-based conditional display of post field groups on multilingual sites.
Fixed a rare PHP 7.4 issue that might have produced a notice in the WordPress admin in some circumstances.
Fixed an issue where newly created custom fields didn’t have proper default WPML translation settings.
Added a mechanism to prevent an issue with errors in the WordPress admin when custom post relationship database tables are missing but their existence is assumed. A new filter toolset_m2m_skip_table_existence_check can be used to prevent additional MySQL queries on relevant requests. Additionally, a mechanism to detect and fix orphaned intermediary post types (that don’t have any relationship referring to them) has been implemented on the Troubleshooting page.

Performance

Significant performance improvement when saving posts with a large number of images in custom fields.
Added a mechanism to prevent browser from freezing when there are a huge number of fields with conditions in a Repeatable Field Group.

Usability

Improved wording of the “Delete leftover intermediary posts” routine on the Troubleshooting page to prevent confusion.
Post editor mode is now copied when a post is translated and in Settings is set to “Per post”.
Allowing custom slug rewrite rules for post types and taxonomies to contain the same characters as WordPress does.

Enhancements

We’ve extended the toolset_get_related_posts() arguments by “orderby_role” which allows to specify by which role the ordering should happen (when the “order” argument is used). If the “orderby_role” argument is not present, the behavior doesn’t change and the first of the returned roles is used for ordering.