[buddypress-trac] [BuddyPress] #5214: groups_create_group() improvements

buddypress-trac noreply at wordpress.org
Thu Oct 24 02:46:29 UTC 2013


#5214: groups_create_group() improvements
--------------------------+-----------------------------
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  1.0
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 While working on #5105, I needed to mass-create a bunch of groups
 programatically.

 And, guess what?  `groups_create_group()` isn't so great! :(

 No validation is done whatsoever when using groups_create_group() by
 itself.

 In the attached patch, I've added validation directly into
 `BP_Groups_Group::save()`.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5214>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list