[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal
WordPress Trac
noreply at wordpress.org
Sun May 6 06:50:34 UTC 2018
#36335: Next generation: core autoloader proposal
-----------------------------+-----------------------------
Reporter: dnaber-de | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by alicewondermiscreations):
I would very much like an autoloader.
I wrote a very simple one (I like simple)
https://gist.github.com/AliceWonderMiscreations/4ba7209256f0e2b38d59a8787d164f63
It just loads class files according to PSR-4 and doesn't bother with PEAR
but a PEAR function could easily be added, though it seems most PEAR
authors these days are doing namespaced classes that work with PSR-4 too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:242>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list