[wp-trac] [WordPress Trac] #12735: get_blogaddress_by_* adds path in multisite. breaks get_home_url etc

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 29 20:15:10 UTC 2010


#12735: get_blogaddress_by_* adds path in multisite. breaks get_home_url etc
--------------------------+-------------------------------------------------
 Reporter:  andreasnrb    |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.0
Component:  Multisite     |     Version:  3.0
 Severity:  critical      |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by ryan):

 Line 71 of my-sites.php should use admin_url().  homeurl and siteurl in
 blog details seem pretty useless. We should almost always go through the
 *_url() functions to get those.  Likewise, $current_site really doesn't
 need homeurl and siteurl.  Just set site_path and let the network_url() do
 the piecing together. That way there a not multiple means of accessing the
 same thing.

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


More information about the wp-trac mailing list