Changeset 8971
- Timestamp:
- 08/29/2014 10:28:53 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/2.1.php
r8958 r8971 624 624 return bp_signup_get_subdomain_base(); 625 625 } 626 627 /** 628 * Alledgedly output an avatar upload form, but it hasn't done that since 2009. 629 * 630 * @since BuddyPress (1.0.0) 631 * @deprecated BuddyPress (2.1.0) 632 */ 633 function bp_avatar_upload_form() { 634 _deprecated_function(__FUNCTION__, '2.1', 'No longer used' ); 635 } 636 -
trunk/src/bp-xprofile/bp-xprofile-template.php
r8963 r8971 705 705 } 706 706 707 function bp_avatar_upload_form() {708 global $bp;709 710 if ( !(int) $bp->site_options['bp-disable-avatar-uploads'] )711 bp_core_avatar_admin( null, bp_loggedin_user_domain() . $bp->profile->slug . '/change-avatar/', bp_loggedin_user_domain() . $bp->profile->slug . '/delete-avatar/' );712 else713 _e( 'Profile photo uploads are currently disabled. Why not use a <a href="http://gravatar.com" target="_blank">gravatar</a> instead?', 'buddypress' );714 }715 716 707 function bp_profile_last_updated() { 717 708
Note: See TracChangeset
for help on using the changeset viewer.