[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal
WordPress Trac
noreply at wordpress.org
Wed Sep 14 22:01:53 UTC 2016
#36335: Next generation: core autoloader proposal
-----------------------------+------------------
Reporter: dnaber-de | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------
Comment (by MikeSchinkel):
Replying to [comment:180 JohnPBloch]:
> [https://github.com/composer/installers composer/installers] handles
putting plugins into `wp-content/plugins`, themes into `wp-
content/themes`, and mu-plugins into `wp-content/mu-plugins`, or any
location one wishes to configure in the root `composer.json`. Any package
may define its type as `wordpress-plugin|theme|mu-plugin` and it will get
installed in the correct location and all autoloading will simply work as
expected.
That is correct, except getting the configuration correct in
`composer.json` is far from trivial, especially when you want some plugins
to be in `/plugins/` and others to be in `/mu-plugins/`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:189>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list