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

buddypress-trac noreply at wordpress.org
Tue Jun 22 20:22:04 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            |   Keywords:  has-patch needs-testing
------------------------------+-------------------------------------
 When this field is empty,
 `BP_XProfile_Field_Type_WordPress::sanitize_for_db()` is generating an
 error trying to trim an array.

 I need to understand why it's not a string as expected 🤔

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


More information about the buddypress-trac mailing list