[wp-trac] [WordPress Trac] #21300: Implement autoloader compatible with PSR-0 / PSR-4 for plugins and themes

WordPress Trac noreply at wordpress.org
Fri Feb 14 18:01:35 UTC 2014


#21300: Implement autoloader compatible with PSR-0 / PSR-4 for plugins and themes
-----------------------------+-------------------------
 Reporter:  dave1010         |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Bootstrap/Load   |     Version:
 Severity:  normal           |  Resolution:  maybelater
 Keywords:                   |     Focuses:
-----------------------------+-------------------------

Comment (by MikeSchinkel):

 Replying to [comment:19 Denis-de-Bernardy]:
 > It would be *very* sweet if, instead of needing to dig through a
 hodgepodge of files in order to locate a class, one could find
 `Foo_Bar_Baz` in `Foo/Bar/Baz.php`.

 Please don't. Deep directory structures are a real pain to deal,
 especially when you are talking about a small number of files like with
 most plugins.

 That said, struggling to find classes is a problem I never see. What
 editor do you use?  Doesn't your editor give you tools to find classes
 easily?

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


More information about the wp-trac mailing list