[wp-trac] [WordPress Trac] #12570: New Network site non directory & non subdomain
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 10 05:42:54 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 nacin):
Replying to [comment:5 Raptor235]:
> could we not set this variable up dynamically to avoid this issue and
assume whatever domain the browser is pointing to is what we're trying to
log into?
By hard-coding it (whether it's done in wp-config.php, or sunrise.php), we
improve performance and prevent unnecessary queries.
Your setup may require it to be handled differently. But the standard use-
case is one "site" (one row in the site table). It's designed to be
scalable without reducing performance at the smallest scale.
I'm seeing that DOMAIN_CURRENT_SITE is defined via network.php just as it
was in MU's index-install.php. Thus, either you set up your MU install
more than a year or two year ago (see
http://trac.mu.wordpress.org/changeset/1422), or you removed the constant
definition just as you'll need to do here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12570#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list