[wp-trac] [WordPress Trac] #22303: Please parse a "vendor" file
WordPress Trac
noreply at wordpress.org
Tue Oct 30 01:12:21 UTC 2012
#22303: Please parse a "vendor" file
--------------------------+------------------------------
Reporter: remicollet | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Comment (by MikeSchinkel):
Replying to [comment:7 SergeyBiryukov]:
> > if (file_exists('vendor.php')) include_once('vendor.php');
>
> It's currently possible to create a must-use plugin (e.g. `mu-
plugins/fedora.php`) that would be automatically included.
>
> I guess what this ticket needs to proceed is a list of hooks or
constants which don't currently exist and are required in your case.
Must-use plugins are probably not loaded early enough to be able to pre-
define constants that they may need to define before they get defined by
WordPress itself. There's a lot of code that gets executed between
`default-constants.php` and when the `'muplugins_loaded'` hook is fired.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22303#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list