Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/29/2014 10:28:53 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Officially deprecate bp_avatar_upload_form(), a function that's gone unused for several years that only called another function that no longer even exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r8963 r8971  
    705705    }
    706706
    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     else
    713         _e( 'Profile photo uploads are currently disabled. Why not use a <a href="http://gravatar.com" target="_blank">gravatar</a> instead?', 'buddypress' );
    714 }
    715 
    716707function bp_profile_last_updated() {
    717708
Note: See TracChangeset for help on using the changeset viewer.