[wp-trac] [WordPress Trac] #12094: Locked out of Network creation if process aborted half way
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 2 22:36:09 UTC 2010
#12094: Locked out of Network creation if process aborted half way
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner: nacin
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: blocker | Keywords:
--------------------------+-------------------------------------------------
Comment(by nacin):
dd32 and I are going to finish this off in the next few days. By the
weekend, I imagine everything can be in place.
I've attached a patch that begins to overhaul network.php, mainly the
first step. It doesn't take into account wpfs (which would be step 2) or
#12457 (which would be easy to add). Feedback encouraged.
My current thought is that we can actually get away with injecting MS
constant defines into the current wp-config.php file. We'll still back it
up, of course, but this prevents us from A) forcing people with various
constants to do it manually, or B) needing to check for all sorts of
constants that we'll want to copy over.
Instead, we'll just be able to check for any problematic constants (if any
exist) that we can throw a flag for, and otherwise, define MULTISITE,
VHOST, DOMAIN_CURRENT_SITE, PATH_CURRENT_SITE, SITE_ID_CURRENT_SITE,
BLOGID_CURRENT_SITE, and $base.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12094#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list