[wp-trac] [WordPress Trac] #31683: Adding standard functions for parsing phone numbers
WordPress Trac
noreply at wordpress.org
Wed Mar 18 14:36:37 UTC 2015
#31683: Adding standard functions for parsing phone numbers
-----------------------------+----------------------
Reporter: Hinjiriyo | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Formatting | Version: 4.1.1
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-----------------------------+----------------------
Changes (by helen):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
@shooper's comment is precisely correct. We have functions for field types
we store and use out of the box, and phone number formatting varies quite
widely making a good data validation approach specific to each
implementation. Including a function that does some things but not others
is unpleasant territory, particularly once sanitization and
conversion/transformation are mixed together as per your proposal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31683#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list