Skip to:
Content

bbPress.org

Changeset 4921


Ignore:
Timestamp:
05/19/2013 05:14:54 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Use bbp_get_search_url() in bbp_get_breadcrumb() so that it works without pretty permalinks. See #2337.

File:
1 edited

Legend:

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

    r4920 r4921  
    23092309        // Search
    23102310        } elseif ( bbp_is_search() && bbp_get_search_terms() ) {
    2311             $crumbs[] = '<a href="' . home_url( bbp_get_search_slug() ) . '" class="bbp-breadcrumb-search">' . __( 'Search', 'bbpress' ) . '</a>';
     2311            $crumbs[] = '<a href="' . bbp_get_search_url() . '" class="bbp-breadcrumb-search">' . __( 'Search', 'bbpress' ) . '</a>';
    23122312        }
    23132313
Note: See TracChangeset for help on using the changeset viewer.