Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/28/2011 07:19:16 PM (13 years ago)
Author:
djpaul
Message:

Remove slashes from xprofile group name and descriptions. Fixes #3146, props calvin_42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r4400 r4434  
    2929            return false;
    3030
    31         $this->id           = $group->id;
    32         $this->name         = $group->name;
    33         $this->description  = $group->description;
    34         $this->can_delete   = $group->can_delete;
    35         $this->group_order  = $group->group_order;
     31        $this->id          = $group->id;
     32        $this->name        = stripslashes( $group->name );
     33        $this->description = stripslashes( $group->description );
     34        $this->can_delete  = $group->can_delete;
     35        $this->group_order = $group->group_order;
    3636    }
    3737
Note: See TracChangeset for help on using the changeset viewer.