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

WordPress Trac noreply at wordpress.org
Sat Aug 27 13:45:12 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 swissspidy):

 Replying to [comment:89 dd32]:
 > Replying to [comment:87 wonderboymusic]:
 > > In [changeset:"38399"]:
 > > Bootstrap: Autoload classes using a Composer-generated PHP
 5.2-compatible Autoloader.
 >
 > FYI; That broke for anyone using core.svn as an external, as the built
 files [http://core.svn.wordpress.org/trunk/wp-
 vendor/composer/autoload_classmap.php?r=38342 still reference `/src/`].
 >
 > Do we need the `wp-vendor` directory there? I'm wondering if that
 wouldn't be better off as `wp-includes/vendor` or something, it'd be a
 little more "WordPressy".

 Having the `composer.json` file inside `src` solves this. `wp-
 includes/vendor` would probably make ideas like #31744 easier.

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


More information about the wp-trac mailing list