[buddypress-trac] [BuddyPress Trac] #5380: Delete avatar link is showing even if no avatar was uploaded

buddypress-trac noreply at wordpress.org
Fri Feb 7 13:05:17 UTC 2014


#5380: Delete avatar link is showing even if no avatar was uploaded
--------------------------+-----------------------
 Reporter:  imath         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  2.0
Component:  Avatars       |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 Since [https://buddypress.trac.wordpress.org/changeset/7769 7769]
 {{{bp_get_user_has_avatar()}}} returns true even if the user haven't
 uploaded an avatar.
 As a result, in change-avatar screen and in the /wp-admin community
 profile, the link to delete the avatar is showing.
 The diff attached seems to solve the issue.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5380>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list