[buddypress-trac] [BuddyPress Trac] #6549: xprofile field type for phone number

buddypress-trac noreply at wordpress.org
Mon Feb 5 18:12:43 UTC 2018

#6549: xprofile field type for phone number
 Reporter:  danbp             |       Owner:  DJPaul
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  3.0
Component:  Extended Profile  |     Version:  2.3.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |

Comment (by boonebgorges):

 > No idea about the -1 thing, I assume it's from the original profile
 field implementation pre-2.0. It's used in all other field types.

 Ah, interesting. I guess maybe this should be examined as part of a
 separate ticket which would touch all field types.

 > I'm not against implementing something similar, though the default'll
 have to be (anything), and we could pick a handful of countries' phone
 number formats?

 Honestly, I'm not sure we even need to go this far, at least not for v1 of
 this feature. I'd only suggest that we make it possible for plugin authors
 (or the BP team, in the future) to add more specific validation down the
 road. (I'm guessing phone number validation is an absolute nightmare, so
 I'm not confident about taking on the mantle.)

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6549#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list