#21081 closed enhancement (fixed)
Whitelist the tel: and fax: URL protocols.
| Reported by: | markjaquith | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | low | Milestone: | 3.5 |
| Component: | General | Version: | 3.4 |
| Severity: | minor | Keywords: | has-patch 2nd-opinion |
| Cc: | Focuses: |
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
@
14 years ago
- Keywords has-patch 2nd-opinion added; needs-patch removed
- Owner set to
- Status new → accepted
#3
follow-up:
↓ 7
@
14 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
@
14 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
@
14 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I thought we had added the filter for adding more protocols, see #18268.