Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2014 01:04:43 AM (10 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
  • trunk/bp-groups/bp-groups-functions.php

    r8157 r8316  
    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.