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

WordPress Trac noreply at wordpress.org
Mon Sep 5 09:16:13 UTC 2016


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

Comment (by GaryJ):

 Replying to [comment:177 MikeSchinkel]:
 > I would propose as another strawman that we create `wp-includes/classes`
 and `wp-admin/classes` directories and slowly start moving classes that we
 want to autoload into those two directories, renaming their files to match
 their classname.

 FWIW, I would disagree about the `classes` naming of those directories, as
 it semantically excludes the potential future use of interface and traits,
 without having to add other directories to map to.

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


More information about the wp-trac mailing list