Changeset 1755
- Timestamp:
- 09/01/2009 07:20:58 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1740 r1755 572 572 return false; 573 573 574 /* If the logged in user does not have access */ 575 if ( !$user_has_access ) 576 return false; 577 574 578 /* If this is for site admins only and the user is not one, don't create the subnav item */ 575 579 if ( $site_admin_only && !is_site_admin() ) … … 587 591 ); 588 592 589 if ( $bp->current_action == $slug && $bp->current_component == $parent_slug && $user_has_access) {593 if ( $bp->current_action == $slug && $bp->current_component == $parent_slug ) { 590 594 if ( !is_object($screen_function[0]) ) 591 595 add_action( 'wp', $screen_function, 3 );
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)