• 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/

Viewing 1 replies (of 1 total)
  • Angelo

    (@seancojr)

    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.