Breadcrumb NavXT 6.0.4

This is the fourth bug fix release of the 6.0 branch of Breadcrumb NavXT. Two bugs were fixed in this release: both issues that resulted in PHP Notices being generated. One on the page for posts when the display blog breadcrumb option was disabled was fixed. The other, on the archive pages when attachments are set to display in said archive. Additionally, the settings change that required migration in 6.0.0 is now automatically applied to the settings used by bcn_display().

The first issue was due to the massiveĀ  reworking of the bcn_breadcrumb_trail class. In the process of making the fill() function pass in the state into the do_* functions, the code handling the inclusion/exclusion of the blog breadcrumb was erroneously partially removed. While this was mostly fixed in 6.0.1, when on the blog page, and when the blog breadcrumb was set to be excluded, PHP Notices were thrown due to improper handling of this situation.

The second issue, as with the first, was due to the reworking of the bcn_breadcrumb_trail class. The call to do_root() in the block that handles archives ends up with a PHP notice due to the root page not being defined for attachments. This only happens when explicitly modifying WordPress’ behavior so that it includes attachments to the results of a wp_query for archives.

In 6.0, the internal name for the hierarchy type and hierarchy display settings was changed to match their actual function (previously they were taxonomy type and taxonomy display). Without migrating the user settings to the new names, the default values will be used by Breadcrumb NavXT. For many users, this is not a problem. However, if either of these settings had been adjusted, the behavior would not match expectations until the user ran the migration routine in the settings page.

As always, you can grab the latest version of Breadcrumb NavXT from the Breadcrumb NavXT page. If you experience any issues with this version of Breadcrumb NavXT, please leave a comment on this post detailing the issue.

-John Havlik

[end of transmission, stay tuned]

Tagged:
Updated:

Breadcrumb NavXT 6.0.3

This is the third bug fix release of the 6.0 branch of Breadcrumb NavXT. Two bugs were fixed in this release: an issue that allowed an improper breadcrumb to be added to the trail for pages, and an issue where the roots for posts and pages were not tracking updates made under Settings > Reading.

Both issues stem from a common cause. Previously, posts of the post and page post types were treated specially within bcn_breadcrumb_trail. In both cases, this special code was largely redundant provided a few changes were made. While these changes were made, a few things were lost along the way.

The first caused do_root to try to inject a breadcrumb for a root page for pages (doesn’t currently make sense for it to do as that’s the home breadcrumb). In some cases this breadcrumb was missing a title, so it looked like there was a double separator. In other cases, a title was used, but it did not make sense for the breadcrumb trail.

The second was the result of removing the hard-coded ties for root pages of posts and pages. Since the root pages were no longer hard-coded they could fall out of synchronization with the dashboard settings. Hence, changes made to the homepage, under Settings > Reading, would not be reflected in the breadcrumb trail.The equivalent issue for posts was fixed when fixing the issue regarding the inclusion of the blog breadcrumb in 6.0.1.

As always, you can grab the latest version of Breadcrumb NavXT from the Breadcrumb NavXT page. If you experience any issues with this version of Breadcrumb NavXT, please leave a comment on this post detailing the issue.

-John Havlik

[end of transmission, stay tuned]