Changeset 9261
- Timestamp:
- 12/23/2014 11:11:58 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-filters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-filters.php
r9249 r9261 466 466 467 467 // Append action name if we're on a member component sub-page 468 if ( ! empty( $bp->bp_options_nav[ $component_id ][ bp_current_action() ]['name'] ) && ! empty( $bp->canonical_stack['action'] ) ) { 469 $component_subnav_name = "{$bp->bp_options_nav[ $component_id ][ bp_current_action() ]['name']}"; 468 if ( ! empty( $bp->bp_options_nav[ $component_id ] ) && ! empty( $bp->canonical_stack['action'] ) ) { 469 $component_subnav_name = wp_filter_object_list( $bp->bp_options_nav[ $component_id ], array( 'slug' => bp_current_action() ), 'and', 'name' ); 470 471 if ( $component_subnav_name ) { 472 $component_subnav_name = array_shift( $component_subnav_name ); 473 } else { 474 $component_subnav_name = ''; 475 } 476 470 477 } else { 471 478 $component_subnav_name = '';
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)