Changeset 4647 for trunk/bp-friends/bp-friends-actions.php
- Timestamp:
- 07/12/2011 02:11:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-actions.php
r3917 r4647 10 10 global $bp; 11 11 12 if ( $bp->current_component != $bp->friends->slug || $bp->current_action != 'add-friend')12 if ( !bp_is_friends_component() || !bp_is_current_action( 'add-friend' ) ) 13 13 return false; 14 14 … … 49 49 global $bp; 50 50 51 if ( $bp->current_component != $bp->friends->slug || $bp->current_action != 'remove-friend')51 if ( !bp_is_friends_component() || !bp_is_current_action( 'remove-friend' ) ) 52 52 return false; 53 53
Note: See TracChangeset
for help on using the changeset viewer.