[buddypress-trac] [BuddyPress Trac] #5220: Overhaul implementation of xprofile field types

buddypress-trac noreply at wordpress.org
Thu Mar 27 09:49:29 UTC 2014


#5220: Overhaul implementation of xprofile field types
------------------------------------------+-----------------------
 Reporter:  DJPaul                        |       Owner:  DJPaul
     Type:  enhancement                   |      Status:  assigned
 Priority:  normal                        |   Milestone:  2.0
Component:  XProfile                      |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch dev-feedback early  |
------------------------------------------+-----------------------

Comment (by DJPaul):

 Added 05.patch, which pending final testing, I will be committing later
 today. It includes a couple more unit tests and more assertions for
 existing tests. I caught a few more bugs like negative numbers not being
 accepted by the number field, and some interesting differences between the
 tests passing integers to the xProfile functions, but the app passing
 integers as strings. I've put in a quick bodge for that for now, but it
 points to an area of future improvement (giving the field type class a
 chance to pre-sanitise the input for a particular field).

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


More information about the buddypress-trac mailing list