[wp-trac] [WordPress Trac] #60414: Core PHP autoloader proposal
WordPress Trac
noreply at wordpress.org
Thu Aug 8 22:22:10 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 justlevine):
Replying to [comment:37 azaozz]:
> Replying to [comment:36 justlevine]:
>
> > While I definitely want to see overloading as well (and as soon as
possible)
>
> Seems the term "overloading" may be misunderstood? This is not the OOP
overloading of methods in a particular class.
Nope, was typing from my phone and just missed a word, should have been
'want to see overloading prevented'. Will update my comment.
Years of `__experimental` Gutenberg methods released in core, even though
people technically could and IRL did (ab)use them in their own
plugin/themes. Iteratively theyre being locked down or removed.
Obviously if there's a way to block autoloading from the getgo we should,
but marking `wontfix` instead of addressing that in a followup-ticket just
to prevent devs fron possibly doing stupid things feels harsh 🤷 just my 2
cents.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60414#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list