Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/06/2014 04:20:31 PM (10 years ago)
Author:
boonebgorges
Message:

Ensure bp_get_user_has_avatar() returns false when the default avatar is returned

Necessitated by changes in return values introduced in r7769

See #5380

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r8160 r8243  
    10341034
    10351035    $retval = false;
    1036     if ( bp_core_fetch_avatar( array( 'item_id' => $user_id, 'no_grav' => true, 'html' => false ) ) != bp_core_avatar_default() )
     1036    if ( bp_core_fetch_avatar( array( 'item_id' => $user_id, 'no_grav' => true, 'html' => false ) ) != bp_core_avatar_default( 'local' ) )
    10371037        $retval = true;
    10381038
Note: See TracChangeset for help on using the changeset viewer.