#21081 closed enhancement (fixed)
Whitelist the tel: and fax: URL protocols.
Reported by: | markjaquith | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 3.5 | Priority: | low |
Severity: | minor | Version: | 3.4 |
Component: | General | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
We should support telephone and fax number URLs, by whitelisting their protocols: tel:
and fax:
http://www.ietf.org/rfc/rfc2806.txt
e.g.
tel:2025551234
Attachments (2)
Change History (9)
#1
@
12 years ago
- Keywords has-patch 2nd-opinion added; needs-patch removed
- Owner set to markjaquith
- Status changed from new to accepted
#3
follow-up:
↓ 7
@
12 years ago
We added a filter. Doesn't mean we shouldn't add some more defaults. Telephone links are particularly handy for local businesses creating mobile sites.
#5
@
12 years ago
.2 patch makes the edit_user()
call use wp_allowed_protocols()
, so there are no other places to keep having to update this protocol list.
#7
in reply to:
↑ 3
@
12 years ago
Replying to markjaquith:
We added a filter. Doesn't mean we shouldn't add some more defaults. Telephone links are particularly handy for local businesses creating mobile sites.
Yeah, of course. I just saw the changed line in wp-admin/includes/user.php
which doesn't used wp_allowed_protocols
. But now it does and I'm happy.
I thought we had added the filter for adding more protocols, see #18268.