[wp-trac] [WordPress Trac] #60414: Core PHP autoloader proposal
WordPress Trac
noreply at wordpress.org
Thu Aug 8 21:20:34 UTC 2024
#60414: Core PHP autoloader proposal
-------------------------------------+-------------------------------------
Reporter: aristath | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit- | Focuses: performance,
tests early | sustainability
-------------------------------------+-------------------------------------
Comment (by spacedmonkey):
I think we maybe able to solve the overriding class issue. I know
@aristath was looking into this. Please do not close this ticket until all
these options have been explored.
Also something to consider, instead of autoloading all core classes, why
not load classes for a sub system like rest api, widgets or customizor.
In the case of rest api and widgets, core widgets / endpoints can already
be unregistered and replaced with your own class. Overloading these
classes would not be new functionality in these cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60414#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list