Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2014 01:05:05 AM (11 years ago)
Author:
boonebgorges
Message:

Ensure that existing 'description' is not wiped out when running groups_create_group() with an existing group

Fixes #5576

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/bp-groups/bp-groups-functions.php

    r8157 r8317  
    102102        $name  = ! empty( $name ) ? $name : $group->name;
    103103        $slug  = ! empty( $slug ) ? $slug : $group->slug;
     104        $description = ! empty( $description ) ? $description : $group->description;
    104105
    105106        // Groups need at least a name
Note: See TracChangeset for help on using the changeset viewer.