Skip to content

Custom WP Loading#261

Merged
scribu merged 15 commits into
masterfrom
custom-wp-loading
Dec 30, 2012
Merged

Custom WP Loading#261
scribu merged 15 commits into
masterfrom
custom-wp-loading

Conversation

@scribu
Copy link
Copy Markdown
Member

@scribu scribu commented Dec 30, 2012

We're going to roll our own version of wp-settings.php, which will give us a lot more control over the initialization, like what happens when the DB tables aren't installed. Should help with #93 and probably #177 too.

The downside would be that we'll have to be more conservative over which versions of WP we'll support, since our version of wp-settings.php will have to be compatible with all of them.

Frustratingly, wp-config.php insists on defining ABSPATH and on
require()ing wp-settings.php.

So, we comb through each line of code from wp-config.php, skipping what
we don't like, and then we explicitly eval() the result.

Afterwards, we're free to require() our own version of wp-settings.php
etc.
scribu pushed a commit that referenced this pull request Dec 30, 2012
@scribu scribu merged commit 99912cf into master Dec 30, 2012
@scribu scribu deleted the custom-wp-loading branch December 30, 2012 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant