Skip to:
Content

BuddyPress.org

Opened 10 years ago

Last modified 8 years ago

#6245 new defect (bug)

bp_get_user_has_avatar() always returns true if default avatar URL is filtered

Reported by: henrywright's profile henry.wright Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch needs-unit-tests
Cc:

Description

bp_get_user_has_avatar() will always return true if the default avatar URL has been changed by filter bp_core_default_avatar_user

Change History (4)

#1 @henry.wright
10 years ago

Also, I think there's a second filter available that, if used, will cause bp_get_user_has_avatar() to always return true.

That filter is bp_core_avatar_default

Last edited 10 years ago by henry.wright (previous) (diff)

#2 @DJPaul
10 years ago

  • Component changed from API to API - Avatars
  • Milestone changed from Awaiting Review to Future Release
  • Version 2.2.1 deleted

#3 @boonebgorges
10 years ago

  • Keywords needs-patch needs-unit-tests added

Yikes, it's not going to be very fun to track down and ensure all the filters are mirrored :) We really need unit tests for this.

#4 @DJPaul
8 years ago

  • Component changed from API - Avatars to Media
Note: See TracTickets for help on using tickets.