Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/02/2015 12:15:18 AM (10 years ago)
Author:
johnjamesjacoby
Message:

XProfile: Move field-group name & description save() sanitization into filters for consistency between save method & saving via the admin UI. See #6340.

File:
1 edited

Legend:

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

    r9677 r9678  
    114114        global $wpdb;
    115115
     116        // Filter the field group attributes
    116117        $this->name        = apply_filters( 'xprofile_group_name_before_save',        $this->name,        $this->id );
    117118        $this->description = apply_filters( 'xprofile_group_description_before_save', $this->description, $this->id );
Note: See TracChangeset for help on using the changeset viewer.