Changeset 3917 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 01/25/2011 08:58:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r3914 r3917 280 280 */ 281 281 function bp_search_form_enabled() { 282 if ( bp_is_active( ' profile' )282 if ( bp_is_active( 'xprofile' ) 283 283 || bp_is_active( 'groups' ) 284 284 || ( bp_is_active( 'blogs' ) && is_multisite() ) … … 311 311 $options = array(); 312 312 313 if ( bp_is_active( ' profile' ) )313 if ( bp_is_active( 'xprofile' ) ) 314 314 $options['members'] = __( 'Members', 'buddypress' ); 315 315 … … 824 824 825 825 function bp_is_profile_component() { 826 if ( bp_is_current_component( ' profile' ) )826 if ( bp_is_current_component( 'xprofile' ) ) 827 827 return true; 828 828 … … 934 934 global $bp; 935 935 936 if ( bp_is_current_component( ' profile' ) )936 if ( bp_is_current_component( 'xprofile' ) ) 937 937 return true; 938 938 … … 943 943 global $bp; 944 944 945 if ( bp_is_current_component( ' profile' ) && bp_is_current_action( 'edit' ) )945 if ( bp_is_current_component( 'xprofile' ) && bp_is_current_action( 'edit' ) ) 946 946 return true; 947 947 … … 952 952 global $bp; 953 953 954 if ( bp_is_current_component( ' profile' ) && bp_is_current_action( 'change-avatar' ) )954 if ( bp_is_current_component( 'xprofile' ) && bp_is_current_action( 'change-avatar' ) ) 955 955 return true; 956 956 … … 1240 1240 if ( !bp_is_blog_page() ) : 1241 1241 if ( bp_is_user_profile() ) 1242 $bp_classes[] = ' profile';1242 $bp_classes[] = 'xprofile'; 1243 1243 1244 1244 if ( bp_is_activity_component() )
Note: See TracChangeset
for help on using the changeset viewer.