Changeset 5072 for trunk/bp-xprofile/bp-xprofile-actions.php
- Timestamp:
- 08/31/2011 01:12:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-actions.php
r4961 r5072 24 24 global $bp; 25 25 26 if ( !bp_is_ current_component( 'profile' ) || !bp_is_current_action( 'change-avatar') || !bp_is_action_variable( 'delete-avatar', 0 ) )26 if ( !bp_is_user_change_avatar() || !bp_is_action_variable( 'delete-avatar', 0 ) ) 27 27 return false; 28 28
Note: See TracChangeset
for help on using the changeset viewer.