[wp-trac] [WordPress Trac] #14670: sunrise.php in single site installations
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 18 07:05:10 UTC 2011
#14670: sunrise.php in single site installations
--------------------------------------------+-----------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: dev-feedback reporter-feedback |
--------------------------------------------+-----------------------------
Changes (by westi):
* keywords: has-patch dev-feedback => dev-feedback reporter-feedback
Comment:
{{{SINGLESITE}}} as a constant isn't needed you can just {{{!
MULTISITE}}}.
If we really want to add support for a sunrise mu-plugin for single site
installs then we should just do a {{{file_exists}}} check inside the
single site branch in {{{wp-settings.php}}} around line 90.
However, I don't understand what can't be done here with a mu-plugin that
is named such that it always appears first.
The agency has to be in full control of these sites to be able to ensure
the plugin is always enabled and can therefore make sure that nothing else
is loaded before it.
A mu-plugin called 000-sunrise.php should do exactly what you want.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14670#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list