Changeset 2695 for trunk/bp-xprofile/bp-xprofile-templatetags.php
- Timestamp:
- 02/12/2010 12:31:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-templatetags.php
r2635 r2695 170 170 return $profile_template->has_fields(); 171 171 } 172 /* Deprecated: Don't use this as it it too easily confused with site groups */173 function bp_group_has_fields() {174 return bp_profile_group_has_fields();175 }176 177 172 178 173 function bp_field_css_class( $class = false ) { … … 625 620 global $bp; 626 621 627 if ( !(int) get_site_option( 'bp-disable-avatar-uploads' ))622 if ( !(int)$bp->site_options['bp-disable-avatar-uploads'] ) 628 623 bp_core_avatar_admin( null, $bp->loggedin_user->domain . $bp->profile->slug . '/change-avatar/', $bp->loggedin_user->domain . $bp->profile->slug . '/delete-avatar/' ); 629 624 else
Note: See TracChangeset
for help on using the changeset viewer.