[buddypress-trac] [BuddyPress Trac] #8678: Confirmed: Function bp_get_group_avatar_url No Longer Returns Raw URL – 10.0.0+

buddypress-trac noreply at wordpress.org
Thu Apr 7 01:32:35 UTC 2022


#8678: Confirmed: Function bp_get_group_avatar_url No Longer Returns Raw URL –
10.0.0+
--------------------------+---------------------
 Reporter:  mackey1       |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  10.3.0
Component:  Groups        |     Version:  10.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"13268" 13268]:
 {{{
 #!CommitTicketReference repository="" revision="13268"
 Make sure `bp_get_group_avatar_url()` returns the group avatar raw URL

 In r13085 a regression was introduced making this function wrongly return
 the avatar `<img>` html output instead of the avatar raw URL. As the
 `html` attribute of the `bp_get_group_avatar()` defaults to `true` we need
 to set it to `false` when using this function from
 `bp_get_group_avatar_url()`.

 Props mackey1, shanebp

 Fixes #8678 (branch 10.0)
 }}}

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


More information about the buddypress-trac mailing list