[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:22:51 UTC 2022


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

Comment (by imath):

 In [changeset:"13267" 13267]:
 {{{
 #!CommitTicketReference repository="" revision="13267"
 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

 See #8678 (trunk)
 }}}

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


More information about the buddypress-trac mailing list