[wp-trac] [WordPress Trac] #18268: Add tel, sms, callto and fax protocols to esc_url() and make the array filterable

WordPress Trac noreply at wordpress.org
Wed Mar 2 03:59:00 UTC 2016


#18268: Add tel, sms, callto and fax protocols to esc_url() and make the array
filterable
------------------------------------+---------------------
 Reporter:  sanchothefat            |       Owner:
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  3.3
Component:  Formatting              |     Version:  3.2.1
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:18 georgestephanis]:
 > as-is, if you call the function once, say, in a plugin for whatever
 reason, the static is set and the filter triggers, and no other plugins /
 theme stuff / whatever will be able to add a filter, as empty() will
 always be false.

 Follow-up: #36033

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


More information about the wp-trac mailing list