Breadcrumb NavXT 7.5.1

This is the first, and hopefully only, bug fix release of the 7.5 branch of Breadcrumb NavXT. In 7.4.0, changes made to allow the block preview within the post editor to show the proper breadcrumb trail for the post being edited resulted in the block being able to show breadcrumb trails that were not for the current page. This release fixes that issue. Note that the block preview in the post editor will not match the post being edited if your version of WordPress is older than 6.5.

The bcn_li_attributes filter was removed and bcn_display_attributes was deprecated in this version. The much easier to use bcn_display_attribute_array filter is the replacement.

Lastly, the deprecated title length settings were removed from the settings page. This matches the removal of bcn_breadcrumb::trim_title() in 7.5.0.

-John Havlik

Breadcrumb NavXT 7.5.0

Holy incremental improvements Batman! This first feature release of 2025 introduces several bug fixes, changes a few internal behaviors, and removes the deprecated bcn_breadcrumb_trail::title_trim function. On the feature front, the block added support for the text align attribute.

On the back end, bcn_breadcrumb_trail::post_hierarchy was refactored to use WP_Post instead of the old parameter set (id, type, and parent id). This brings this function in line with much of the rest of bcn_breadcrumb_trail member functions. Note that this breaks compatibility with some extension plugins, updates should already be available, and make sure to update the extension plugins before updating Breadcrumb NavXT.

On the bug fix front, this version fixed an issue in the uninstaller that resulted in PHP errors that caused uninstallation to fail. Additionally, three bugs in the Breadcrumb Trail Block were fixed: the “Hide on Home” option now works as intended, a typo that caused a console warning when inserting the block, and the selector for the block specified in block.json now matches the selector for the block. A bug in the settings exporter that resulted in most settings not being exported was fixed. Lastly, a bug in the settings importer where boolean settings could not be set false through the importer.

Lastly, in alignment with the deprecation schedule for the title_trim function outlined back in 2021, bcn_breadcrumb::title_trim has been removed in this release. title_trim had spent the past several releases not only deprecated, but also orphaned (the core plugin did not call title_trim).

-John Havlik