Changeset 6745 for trunk/src/includes/common/template.php
- Timestamp:
- 11/29/2017 12:46:17 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/template.php
r6728 r6745 2054 2054 // Pretty permalinks 2055 2055 if ( bbp_use_pretty_urls() ) { 2056 2057 // Run through home_url() 2056 2058 $url = trailingslashit( bbp_get_root_url() . bbp_get_view_slug() ) . $view; 2057 2059 $url = user_trailingslashit( $url ); … … 2306 2308 // Do we want to include a link to home? 2307 2309 if ( ! empty( $r['include_home'] ) || empty( $r['home_text'] ) ) { 2308 $crumbs[] = '<a href="' . trailingslashit( home_url() ) . '" class="bbp-breadcrumb-home">' . $r['home_text'] . '</a>';2310 $crumbs[] = '<a href="' . esc_url( home_url() ) . '" class="bbp-breadcrumb-home">' . $r['home_text'] . '</a>'; 2309 2311 } 2310 2312
Note: See TracChangeset
for help on using the changeset viewer.