[wp-trac] [WordPress Trac] #13191: admin_url does not respect WP_SITEURL

WordPress Trac wp-trac at lists.automattic.com
Sat May 8 19:06:04 UTC 2010


#13191: admin_url does not respect WP_SITEURL
--------------------------+-------------------------------------------------
 Reporter:  Dachande663   |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.0     
Component:  Multisite     |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by nacin):

  * component:  General => Multisite


Comment:

 Okay, it looks like on a multisite blog, get_blogaddress_by_id will not
 respect WP_SITEURL and WP_HOME, as to enforce those, we simply filter
 get_option. Thus, on multisite for a different blog, we don't necessarily
 return the correct URL.

 That said, the ticket is otherwise invalid.

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


More information about the wp-trac mailing list