[buddypress-trac] [BuddyPress Trac] #6749: bp_get_group_avatar() needs extra error checking

buddypress-trac noreply at wordpress.org
Mon Nov 23 19:33:39 UTC 2015


#6749: bp_get_group_avatar() needs extra error checking
--------------------------------------+----------------------------------
 Reporter:  slaFFik                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Under Consideration
Component:  Tools - Warnings/Notices  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  2nd-opinion               |
--------------------------------------+----------------------------------

Comment (by r-a-y):

 The `bp_get_group_from_param()` function would be pretty awesome.

 Also, check out a related, crappy patch here - ticket:6387#comment:6 -
 that only adds `groups_get_current_group()` as a fallback and doesn't do
 any group lookups.

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


More information about the buddypress-trac mailing list