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:

[glot-translators=breadcrumb-navxt]

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]

5 thoughts on “Breadcrumb NavXT 5.1.0

  1. Hi John,
    I just updated to the latest version (5.1.0) and my little home icon disappeared. I can’t remember how to style this to replace the text. Could you please tell me how to fix it so I can have an image instead of text at the beginning of the breadcrumb? Thanks so much!
    ~Karen

    • The Home icon was probably an img tag within the “Home Template” and “Home Template (unlinked)” settings. You will find these on the general settings tab in the Breadcrumb NavXT settings page.

      -John Havlik

  2. Hey.
    I’m sorry for my english)

    I have a problem with your plugin
    plugin does not work correctly with images pages
    The last and the penultimate paragraph breadcrumbs have the same link – a link to the image page only…

    for example – http://housevrn.ru/?p=4192

Comments are closed.