Changeset 9701 for trunk/src/bp-core/bp-core-buddybar.php
- Timestamp:
- 04/06/2015 03:19:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-buddybar.php
r9600 r9701 297 297 // Link was not forced, so create one 298 298 if ( empty( $link ) ) { 299 $link = $parent_url . $slug;299 $link = trailingslashit( $parent_url . $slug ); 300 300 301 301 // If this sub item is the default for its parent, skip the slug 302 302 if ( ! empty( $bp->bp_nav[$parent_slug]['default_subnav_slug'] ) && $slug == $bp->bp_nav[$parent_slug]['default_subnav_slug'] ) { 303 $link = $parent_url;303 $link = trailingslashit( $parent_url ); 304 304 } 305 305 } … … 314 314 $subnav_item = array( 315 315 'name' => $name, 316 'link' => trailingslashit( $link ),316 'link' => $link, 317 317 'slug' => $slug, 318 318 'css_id' => $item_css_id,
Note: See TracChangeset
for help on using the changeset viewer.