Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/13/2012 08:02:41 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Move bp_get_user_has_avatar() into bp-core-avatars.php and add comparison to bp_core_avatar_default(). Fixes #3977. Props r-a-y, paulgibbs.

File:
1 edited

Legend:

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

    r5729 r5762  
    825825    }
    826826
    827 function bp_get_user_has_avatar() {
    828 
    829     if ( !bp_core_fetch_avatar( array( 'item_id' => bp_displayed_user_id(), 'no_grav' => true ) ) )
    830         return false;
    831 
    832     return true;
    833 }
    834 
    835827function bp_edit_profile_button() {
    836828    global $bp;
Note: See TracChangeset for help on using the changeset viewer.