[buddypress-trac] [BuddyPress] #4912: xprofile BP_XProfile_Field populate do not fill data
buddypress-trac
noreply at wordpress.org
Sun Apr 14 20:09:50 UTC 2013
#4912: xprofile BP_XProfile_Field populate do not fill data
--------------------------+-----------------------------
Reporter: eggproject | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: XProfile | Version: 1.2.8
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------------
Comment (by eggproject):
about i use...
$cfield = new BP_XProfile_Field($kitKeresekFieldId,$cuserId);
$cvalue = maybe_unserialize($dfield->data->value);
original code to the constructor is not charged in $ data ....
function __construct( $id = null, $user_id = null, $get_data =
true ) {
if ( !empty( $id ) )
$this->populate( $id, $user_id, $get_data );
}
call populate... my code fill this object ...
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4912#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list