[buddypress-trac] [BuddyPress Trac] #6884: Improve validation in BP_XProfile_Field_Type->is_valid()

buddypress-trac noreply at wordpress.org
Mon Feb 8 16:49:04 UTC 2016


#6884: Improve validation in BP_XProfile_Field_Type->is_valid()
----------------------------------+-----------------------------
 Reporter:  dcavins               |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  low                   |  Milestone:  Awaiting Review
Component:  Component - XProfile  |    Version:
 Severity:  minor                 |   Keywords:  has-patch
----------------------------------+-----------------------------
 When checking against a set of whitelisted values, the foreach in
 `is_valid()` doesn't break when it encounters an invalid value. Instead,
 it returns the validity of the last value in the array.

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


More information about the buddypress-trac mailing list