Title: [Plugin: Breadcrumbs Plus] Bug and Fix
Last modified: August 20, 2016

---

# [Plugin: Breadcrumbs Plus] Bug and Fix

 *  [galpeaceman](https://wordpress.org/support/users/galpeaceman/)
 * (@galpeaceman)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-breadcrumbs-plus-bug-and-fix/)
 * Hello Mr Developer!
    First of, this is a great and simple plugin. I found a small
   bug in the breadcrumbs_plus_get_items function. It is assumed that ‘page_for_posts’
   is assigned, resulting in a double appearance of the current page (since the 
   default value is 0, get_permalink return this post’s link). You should change
   this row:  if ( ‘post’ === $wp_query->post->post_type && $args[‘show_blog’] ){`
   into this row: `if ( 'post' === $wp_query->post->post_type && $args['show_blog']&&
   get_option( 'page_for_posts' ) ) {` Also, I think this row is redundant: `$show_on_front
   = get_option( 'show_on_front' );` Please fix this in the upcoming version! Gal
   PeaceMan
 * [http://wordpress.org/extend/plugins/breadcrumbs-plus/](http://wordpress.org/extend/plugins/breadcrumbs-plus/)

Viewing 1 replies (of 1 total)

 *  [Angelo](https://wordpress.org/support/users/seancojr/)
 * (@seancojr)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-breadcrumbs-plus-bug-and-fix/#post-2460084)
 * For the sake of clarity, the above lines of referenced code can be found at **
   line 129** and **line 98** in breadcrumbs-plus.php.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Breadcrumbs Plus] Bug and Fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/breadcrumbs-plus.svg)
 * [Breadcrumbs Plus](https://wordpress.org/plugins/breadcrumbs-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/breadcrumbs-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumbs-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumbs-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumbs-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumbs-plus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Angelo](https://wordpress.org/support/users/seancojr/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-breadcrumbs-plus-bug-and-fix/#post-2460084)
 * Status: not resolved