Skip to:
Content

bbPress.org

Changeset 4558


Ignore:
Timestamp:
12/07/2012 10:15:42 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Breadcrumbs:

  • Use is_singular() in bbp_get_breadcrumb().
  • Fixes issue where single reply trail would be incorrect.
  • Fixes #2086 (2.2 branch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/includes/common/template-tags.php

    r4530 r4558  
    20032003
    20042004        // Get post ancestors
    2005         if ( is_page() || is_single() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() )
     2005        if ( is_singular() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() )
    20062006            $ancestors = array_reverse( (array) get_post_ancestors( get_the_ID() ) );
    20072007
Note: See TracChangeset for help on using the changeset viewer.