[wp-trac] [WordPress Trac] #17048: URLs delivered to the browser should be root-relative

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 14 20:54:29 UTC 2011


#17048: URLs delivered to the browser should be root-relative
--------------------------+-----------------------
 Reporter:  dmole         |       Owner:  edwardw
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+-----------------------

Comment (by dmole):

 Thanks edwardw, at first glance that looks like it's on the right track.
 Is there a reason not to merge the three functions (get_home_url
 get_site_url network_site_url) into one?
 Also I hope the other 101 url functions call one of the three you changed
 grep -R "function .*_url" * | grep -v "js:"
 I'll test out your patch a bit more later

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


More information about the wp-trac mailing list