[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal

WordPress Trac noreply at wordpress.org
Mon Feb 25 09:28:33 UTC 2019


#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 juslintek):

 All examples are wrong, autoloader should replace or remove plugins_loaded
 (as this is no longer required), plugin_activate, plugin_deactivate and
 file on activate/deactivate should be created, where autoload should load
 ant iterate through in order to skip deactivated directories from
 autoloading as well namespacing should be added like:


 {{{
 Wordpress/App/Plugins
 Wordpress/App/Themes
 Wordpress/App/MuPlugins
 Wordpress/Core
 Wordpress/Admin
 }}}

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


More information about the wp-trac mailing list