[buddypress-trac] [BuddyPress Trac] #5854: Groups admin: Updating a group entry with empty description throws an error message

buddypress-trac noreply at wordpress.org
Thu Nov 27 22:49:41 UTC 2014


#5854: Groups admin: Updating a group entry with empty description throws an error
message
-----------------------------------+------------------
 Reporter:  r-a-y                  |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  2.2
Component:  Groups                 |     Version:  1.7
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by r-a-y):

 > Group Description, in the theme compat templates, is marked as a
 required field, and this change (obv) allows empty values.

 Good catch.  Would really be swell if we could switch to `WP_Error` for
 these types of things.

 The alternative is changing the group edit template to remove the
 'required' string, but that's probably a no-go.

 So do we want to fix up the admin notice to be more specific?  If so,
 `03.patch` does this in a workaround manner in the admin area since we
 can't use `WP_Error` in `groups_edit_base_group_details()`.

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


More information about the buddypress-trac mailing list