Changeset 3109 for branches/plugin/bbp-includes/bbp-general-template.php
- Timestamp:
- 05/06/2011 10:45:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-general-template.php
r3108 r3109 1088 1088 * @uses bbp_get_breadcrumb() To get the breadcrumb 1089 1089 */ 1090 function bbp_title_breadcrumb( $sep = ' ←' ) {1090 function bbp_title_breadcrumb( $sep = ' › ' ) { 1091 1091 echo bbp_get_breadcrumb( $sep ); 1092 1092 } … … 1100 1100 * @uses bbp_get_breadcrumb() To get the breadcrumb 1101 1101 */ 1102 function bbp_breadcrumb( $sep = ' ←', $current_page = true ) {1102 function bbp_breadcrumb( $sep = ' › ', $current_page = true ) { 1103 1103 echo bbp_get_breadcrumb( $sep ); 1104 1104 } … … 1124 1124 * @return string Breadcrumbs 1125 1125 */ 1126 function bbp_get_breadcrumb( $sep = ' ←', $current_page = true ) {1126 function bbp_get_breadcrumb( $sep = ' › ', $current_page = true ) { 1127 1127 global $post, $bbp; 1128 1128 … … 1168 1168 $breadcrumbs[] = get_the_title(); 1169 1169 1170 // Allow the separator of the breadcrumb to be easily changed 1171 $sep = apply_filters( 'bbp_breadcrumb_separator', $sep ); 1172 1170 1173 // Build the trail 1171 if ( !empty( $breadcrumbs ) ) 1172 $trail = implode( ' ' . $sep . ' ', $breadcrumbs ); 1173 else 1174 $trail = ''; 1174 $trail = !empty( $breadcrumbs ) ? implode( $sep, $breadcrumbs ) : ''; 1175 1175 1176 1176 return apply_filters( 'bbp_get_breadcrumb', $trail );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)