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

WordPress Trac noreply at wordpress.org
Mon Sep 5 00:24:16 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 TJNowell):

 >  What compatibility problems?  The plugin cannot use PSR0/4 '''AND'''
 the
 > pre-generated autoloader that is being proposed for inclusion in core
 > ''unless the plugin moves its files into the `/vendor` directory (or
 > similar)'', which is a non-starter.

 That's not true, anybody who has used Composer to set up Core and plugins
 will tell you so. I'm also not a fan of taking a widespread package, and
 redistributing one of its core classes with modifications. It's like
 taking a 6 pack of hotdog buns and tearing the packaging apart in the shop
 because you only want 2 for dinner.

 It's clear that your understanding of how Composer is being used in
 WordPress installs, and the difference between the CLI tool, and the
 autoloader, is incomplete. I'm not going to derail this ticket any further
 in an effort to enlighten you

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


More information about the wp-trac mailing list