[wp-trac] [WordPress Trac] #16408: get_bloginfo('template_url') is not returning valid URLs.

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 30 10:39:59 UTC 2011


#16408: get_bloginfo('template_url') is not returning valid URLs.
-------------------------------------+------------------------------
 Reporter:  figaroo                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.0.3
 Severity:  normal                   |  Resolution:
 Keywords:  spaces url template_url  |
-------------------------------------+------------------------------

Comment (by scribu):

 So, what you're suggesting in other words is that get_bloginfo() call
 esc_url() internally.

 The counter-argument to that is that usually you append something to that
 URL, so if you then call esc_url() yourself, you would end up with an
 incorrect, double-encoded, URL.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16408#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list