[wp-trac] [WordPress Trac] #60414: Core PHP autoloader proposal

WordPress Trac noreply at wordpress.org
Fri Aug 9 15:05:24 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 hellofromTonya):

 IMO the way to frame the discussion is to focus on this question:

 Should Core introduce a brand new customization mechanism that allows
 extenders to replace Core files?

 Without preventing overriding, this autoloader will add this brand new
 customization mechanism. Thus, it will ''by design'' to allow the means to
 replace Core's native classes. As with any other customization mechanism
 (such as hooks), if it's available natively in Core, it will be used.

 For the WordPress open source project, this mechanism can be beneficial
 for Gutenberg and feature plugins.

 But is it beneficial to the [https://wordpress.org/about/philosophy/
 majority of users]?

 These are the questions to answer IMO.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60414#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list