Breadcrumb NavXT 5.1.1

This is the first bug fix release of the 5.1 branch of Breadcrumb NavXT. 5.1.0 introduced a bug in the behavior of attachments, where the attachment and parent would have the same link. This has been fixed in 5.1.1. Additionally, the check for WP_Post in bcn_breadcrumb_trail::do_post() has been reduced from a fatal PHP error to a _doing_it_wrong() call producing useful information for developers.

Additionally, two bugs that affect versions other than just 5.1.0 were fixed. Breadcrumb NavXT will no longer cause PHP to throw errors or warnings on author archive pages for authors with zero published posts. The author archive code was modernized and made much more robust than that in 5.1.0 and earlier. Lastly, the parameters for the included widget’s (pre) text filter were changed to match the default WordPress text widget’s text filter parameters.

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]

Breadcrumb NavXT 5.1.0

Holy squashed bugs Batman! Breadcrumb NavXT 5.1.0 features 13 bug fixes and one new feature. Several small tweaks were made to the settings page to improve the overall experience, including handling HTML5 form validation errors in a more intuitive manner. The settings importer should work once again in this release. Previously, there was a bug where it read the version string incorrectly, causing the settings to never be imported. ‘typeof’ was added to the list of valid HTML tag attributes for all accepted HTML tags in the breadcrumb templates.

Internally, fixes were made to the bcn_breadcrumb_trail::do_author() and bcn_breadcrumb_trail::do_root() functions. Additionally, the bcn_breadcrumb_template filter should be available again, it was left out as a regression in the 5.0 release. Lastly, two edge cases were fixed in the custom post type default settings generation code.

Changes to bcn_breadcrumb_trail::do_post()

If you are using the Breadcrumb NavXT Multidimension Extensions plugin, please update it to version 1.7.1 or later. If you have written an extension plugin to Breadcrumb NavXT please take note.  As of Breadcrumb NavXT 5.1, bcn_breadcrumb_trail::do_post() expects to have a valid WP_Post object passed into it. Any plugins extending this function will need to be compatible, otherwise PHP will throw warnings.

Changes to breadcrumb_navxt and mtekk_adminKit classes

breadcrumb_navxt now stores it’s version as a constant (makes it easier to read without instantiating the class). Likewise, mtekk_adminKit‘s internal version is now a const. Lastly, a new filter, bcn_opts_update_prebk was added. This filter is run by the bcn_admin::opts_update_prebk function, it filters the options array just before being backed up during a settings save.

RDFa Breadcrumbs

New in 5.1.0 is RDFa Breadcrumbs support. All new installs will, by default, have settings configured to support RDFa Breadcrumbs. Since this primarily affects the breadcrumb templates, those upgrading from older versions can either manually add in the RDFa markup to their breadcrumb templates. Or, you can do a settings reset (via the help menu on the Breadcrumb NavXT settings page) to get a fresh set of settings that are the same as if you installed Breadcrumb NavXT for the first time.

Widget Features and Fixes

There were two bug fixes and one new feature for the included widget in this release. The new feature is support for RDFa Breadcrumbs, which has replaced Schema.org Beadcrumbs support (since none of the search providers actually use Schema.org Breadcrumbs support was dropped for now). On the bug fix front, a case where the widget could throw PHP warnings on the frontend was fixed. Lastly, the widget title and the text shown before the breadcrumb trail are now passed through filters (widget_title and widget_text) to aid translation plugins such as WPML.

The Translation Team:

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]

Breadcrumb NavXT Multidimension Extensions 1.8.0

It’s been a long time coming, but Breadcrumb NavXT Multidimension Extensions is now available on the WordPress.org plugins repository. As part of this ‘move’, a new release is available, version 1.8.0. For version 1.8.0, the plugin was heavily re-factored, and support for Breadcrumb NavXT 5.1 was added (while maintaining support for Breadcrumb NavXT 5.0).

You can grab Breadcrumb NavXT Multidimension Extensions from the WordPress.org plugin repository.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT and WPML Compatibility

In the past two days, I took the time to investigate possible compatibility issues between Breadcrumb NavXT and WPML. Within Breadcrumb NavXT, every attempt is made to use the WordPress API, when possible, to maximize the compatibility with other plugins such as WPML. Occasionally, this is not enough and the findings of this investigation are presented in this article.

Continue reading

I’m Speaking at WordCamp Chicago 2014

My presentation titled “1 Million Downloads – Lessons Learned Growing a Plugin” was accepted as a lightning talk for WordCamp Chicago 2014. This presentation was inspired by a presentation I attended at WordCamp Chicago 2013. It is an abridged version of the talk I will be giving at WordCamp Minneapolis 2014, which is just a week an a few days away.

-John Havlik

[end of transmission, stay tuned]