[wp-trac] [WordPress Trac] #18469: esc_url prevents embedding tel: links in custom menus

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 18 09:06:20 UTC 2011


#18469: esc_url prevents embedding tel: links in custom menus
--------------------------+-----------------------------
 Reporter:  jb510         |      Owner:  jb510
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  minor         |   Keywords:  has-patch
--------------------------+-----------------------------
 When adding a tel: URL to a custom menu via custom links the URL is
 removed by esc_url as it is not a whitelisted protocol. (line 2267 in wp-
 includes/formatting.php).

 I also noticed git: wasn't included in the whitelist array so I added it
 for good measure.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18469>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list