Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/09/2017 12:43:21 AM (9 years ago)
Author:
johnjamesjacoby
Message:

General: ensure values are un/serialized as intended.

This change provides additional hardening around how some serialized data is manipulated while it's being passed around the application. (Some values were inconsistently or needlessly handled.)

Trunk, for 3.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-functions.php

    r11447 r11692  
    465465        $field->field_id = $field_id;
    466466        $field->user_id  = $user_id;
     467
     468        // Gets un/reserialized via xprofile_sanitize_data_value_before_save()
    467469        $field->value    = maybe_serialize( $value );
    468470
Note: See TracChangeset for help on using the changeset viewer.