[buddypress-trac] [BuddyPress Trac] #8437: 'bp_core_avatar_default' filter is used twice, but for different purposes

buddypress-trac noreply at wordpress.org
Tue Apr 27 04:11:53 UTC 2021


#8437: 'bp_core_avatar_default' filter is used twice, but for different purposes
-------------------------------------------------+-------------------------
 Reporter:  r-a-y                                |       Owner:  imath
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  8.0.0
Component:  Core                                 |     Version:  2.6.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  dev-feedback has-patch 2nd-opinion   |
  needs-docs                                     |
-------------------------------------------------+-------------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12906" 12906]:
 {{{
 #!CommitTicketReference repository="" revision="12906"
 Replace the `bp_core_avatar_default` filter with 2 new filters

 The `bp_core_avatar_default` filter was used for two different purposes:

 1. to edit the default BuddyPress avatar [7769].
 2. to edit the default Gravatar [10688].

 To avoid confusion or generate misleading behaviors, we are deprecating
 this filter in favor of 2 new filters :
 1. Use `bp_core_default_avatar` to edit the default BuddyPress avatar.
 2. Use `bp_core_avatar_gravatar_default` to edit the default Gravatar.

 Props r-a-y

 Fixes #8437
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8437#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list