Today’s update is a minor maintenance update to resolve a few regressions identified with the last update. These include:
- NEW: Introduce
Taxonomy\Partial\getTermParents(). - TWEAK: No need to import the core Connections Directory object on the term taxonomy admin pages since it is not utilized.
- TWEAK: Deprecate
cnTemplatePart::getCategoryParents()and refactor to utilizeTaxonomy\Partial\getTermParents(). - TWEAK: Remove instances of
cnTemplatePart::getCategoryParents()and refactor to utilizeTaxonomy\Partial\getTermParents(). - TWEAK: Ensure Content Block callback is callable before registering the action callback.
- TWEAK: Ensure taxonomy term permalink returns a string before escaping and rendering the permalink HTML.
- TWEAK: Ensure term is an array and not empty before attempting to traverse the term results.
- TWEAK: Minor refactor of
Content_Block::isPermitted()to ensure callback is callable and if return value is not a bool, returnfalse. - TWEAK: Set the default value in
Content_Block::heading()to an empty string as the default to prevent a possiblenullas the return value. - TWEAK: Set the default value of
labelinContent_Block\Entry\Taxonomy::content()to an empty string as the default to prevent a possiblenullas the return value. - BUG: The
category__inandcategory__not_inparameters should be parse as arrays. - BUG: Correct form ID name on the term taxonomy admin page to be consistent with WP core.
- BUG: Ensure the
force_homeandhome_idparameters are passed in the Taxonomy Term widget to prevent PHP notices about undefined indexes. - DEV: phpDoc corrections.
- DEV: Remove unused import.
- DEV: Updates to
.composer.json. - DEV: Updates to
.gitignore.
