[buddypress-trac] [BuddyPress] #4185: Calling groups_get_group() with a non-existent group id returns a BP_Groups_Group object populated with the provided ID

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Aug 28 06:26:05 UTC 2012


#4185: Calling groups_get_group() with a non-existent group id returns a
BP_Groups_Group object populated with the provided ID
--------------------------+--------------------
 Reporter:  chriskeeble   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.7
Component:  Groups        |     Version:  1.5.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by DJPaul):

 What type of response should we return? An empty BP_Groups_Group seems a
 bit pointless. A WP_Error or a null response, maybe?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4185#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list