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

buddypress-trac noreply at wordpress.org
Sun Feb 4 16:44:59 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         |
------------------------------+-----------------------
Changes (by DJPaul):

 * keywords:   => has-patch


Comment:

 I've added a patch for a phone number profile field type. Here's a copy of
 the development branch on my Github:
 https://github.com/paulgibbs/bptemp/compare/6549-phone-number

 For practicality, it accepts any value as valid (same rules as the
 textbox), but on output, it transforms the value using a ` tel://`
 protocol link. Modern web browsers e.g. Safari, iOS, Android, will trigger
 that device's native calling functionality when such a link is touched.

 Code review appreciated.

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


More information about the buddypress-trac mailing list