Skip to:
Content

bbPress.org

Changeset 3567


Ignore:
Timestamp:
10/31/2011 12:43:23 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Add is_forum_edit() check to breadcrumb function to correctly load the ancestors. See #1669.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-common-template.php

    r3557 r3567  
    16571657
    16581658        // Get post ancestors
    1659         if ( is_page() || is_single() || bbp_is_topic_edit() || bbp_is_reply_edit() )
     1659        if ( is_page() || is_single() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() )
    16601660            $ancestors = array_reverse( get_post_ancestors( get_the_ID() ) );
    16611661
Note: See TracChangeset for help on using the changeset viewer.