[wp-trac] [WordPress Trac] #12570: New Network site non directory & non subdomain

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 12 14:28:05 UTC 2010


#12570: New Network site non directory & non subdomain
----------------------------+-----------------------------------------------
 Reporter:  Raptor235       |       Owner:     
     Type:  defect (bug)    |      Status:  new
 Priority:  high            |   Milestone:  3.0
Component:  Administration  |     Version:  3.0
 Severity:  major           |    Keywords:     
----------------------------+-----------------------------------------------

Comment(by Raptor235):

 Hey there, you don't need to do a query... all I did to resolve this issue
 was change the hardcoded url to

 define('DOMAIN_CURRENT_SITE', $_SERVER['SERVER_NAME'] );

 works like a charm

 can we implement this into the core or is there issues that might arise
 because of this?

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


More information about the wp-trac mailing list