[wp-trac] [WordPress Trac] #31683: Adding standard functions for parsing phone numbers

WordPress Trac noreply at wordpress.org
Wed Mar 18 13:58:04 UTC 2015


#31683: Adding standard functions for parsing phone numbers
-----------------------------+------------------------------
 Reporter:  Hinjiriyo        |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Formatting       |     Version:  4.1.1
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by shooper):

 Two thoughts:

 1. Great idea, however not sure if it belongs in core. Sanitizing URLs and
 e-mail addresses makes sense as both of those types of data are stored as
 part of the default core data (email in _users and URLs in the user_url
 usermeta).  Telephone numbers would be a custom field.

 2. If this were to be added to core, my second thought would be how does
 it handle telephone extensions, like:

 +1-613-555-1212 x 200

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31683#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list