[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal
WordPress Trac
noreply at wordpress.org
Fri Sep 2 17:27:43 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 rmccue):
Replying to [comment:166 JohnPBloch]:
> To that end, I propose that we run with @schlessera's proposal to fork
the PHP 5.2 autoloader generator and, in addition to making it use
`ABSPATH` rather than a path relative to `composer.json`, it should strip
out (i.e., neglect to generate) all logic in the loading method after the
class map until such time that core actually ''uses'' one of the
autoloading PSRs (which is a completely different conversation).
Half the reason Composer was suggested in this ticket was to reduce how
much work we'd have to do, since we could have something ready immediately
that "just works". Now, the proposal is to rewrite this functionality
anyway.
I still think this seems to be a solution (Composer) searching for a
problem.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:167>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list