Skip to:
Content

bbPress.org

Changeset 5005


Ignore:
Timestamp:
06/30/2013 06:58:15 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Use the correct array index string in bbp_get_breadcrumb() ( 'current_text' VS 'pre_current_text' ). Props mrcl. Fixes #2361.

File:
1 edited

Legend:

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

    r5002 r5005  
    23312331
    23322332        // Add current page to breadcrumb
    2333         if ( !empty( $r['include_current'] ) || empty( $r['pre_current_text'] ) ) {
     2333        if ( !empty( $r['include_current'] ) || empty( $r['current_text'] ) ) {
    23342334            $crumbs[] = $r['current_before'] . $r['current_text'] . $r['current_after'];
    23352335        }
Note: See TracChangeset for help on using the changeset viewer.