Changeset 10979
- Timestamp:
- 08/02/2016 05:14:26 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/bp-core/bp-core-buddybar.php
r10876 r10979 153 153 154 154 // Add the item to the nav. 155 $retval =buddypress()->{$component}->nav->add_nav( $nav_item );155 buddypress()->{$component}->nav->add_nav( $nav_item ); 156 156 157 157 /** … … 168 168 do_action( 'bp_core_create_nav_link', $r, $args, $defaults, $component ); 169 169 170 return $ retval;170 return $nav_item; 171 171 } 172 172 … … 537 537 ); 538 538 539 return buddypress()->{$component}->nav->add_nav( $subnav_item ); 539 buddypress()->{$component}->nav->add_nav( $subnav_item ); 540 541 return $subnav_item; 540 542 } 541 543
Note: See TracChangeset
for help on using the changeset viewer.