[buddypress-trac] [BuddyPress Trac] #5576: Add New Group - description not being saved
buddypress-trac
noreply at wordpress.org
Thu Apr 24 01:03:55 UTC 2014
#5576: Add New Group - description not being saved
--------------------------+--------------------
Reporter: shanebp | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.0.1
Component: Groups | Version: 2.0
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Changes (by boonebgorges):
* priority: normal => high
* milestone: Awaiting Review => 2.0.1
Comment:
Confirmed. This is a regression in 2.0, introduced in r8157. In that
changeset, the logic used when a `groups_create_group()` is called with an
existing `group_id` is changed. When no 'name' or 'slug' parameters are
passed, the existing properties by those names are preserved. But the same
does not happen for descriptions: if no value is passed to 'description',
an empty string will overwrite the original description. This causes
problems during the normal group creation workflow, because
`groups_create_group()` is called twice: once after the first step (when
name, slug, and description are created) and once after the second step
(to save group-settings).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5576#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list