[buddypress-trac] [BuddyPress Trac] #8494: PHP error with WP Biography xProfile field type sanitization callback

buddypress-trac noreply at wordpress.org
Mon Jun 28 15:18:55 UTC 2021


#8494: PHP error with WP Biography xProfile field type sanitization callback
------------------------------+---------------------
 Reporter:  imath             |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  8.1.0
Component:  Extended Profile  |     Version:  8.0.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+---------------------
Changes (by imath):

 * keywords:  has-patch needs-testing => has-patch


Comment:

 Ok, I got it: `xprofile_set_field_data()` is using an array for fields
 accepting a null value (used for checkboxes, multiselect). That's why.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8494#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list