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

WordPress Trac noreply at wordpress.org
Sat Mar 26 14:20:57 UTC 2016


#36335: Next generation: core autoloader proposal
-----------------------------+------------------------------
 Reporter:  dnaber-de        |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by jdgrimes):

 As far as support for PHP 5.2 goes, what I am doing in one of my plugins
 is this: when the autoloader is being registered, if
 `spl_autoload_register()` isn't available, it just goes ahead and
 pre-`include`s all of the class files instead. Obviously that's not ideal,
 but I don't think that there's anything else that you can do.

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


More information about the wp-trac mailing list