[wp-trac] [WordPress Trac] #23912: Add Composer package description

WordPress Trac noreply at wordpress.org
Fri May 24 16:28:10 UTC 2013


#23912: Add Composer package description
------------------------------------+------------------------------
 Reporter:  Rarst                   |       Owner:
     Type:  feature request         |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  3.5
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by Rarst):

 > In fact, there is no "logical default location" for WordPress core at
 all.

 There are two possible locations:
  - site root
  - root subdirectory with arbitrary name

 These are what code (as of recently in full) and documentation currently
 support.

 > The Composer issue you opened isn't likely to go anywhere because that's
 simply not how Composer (or composer/installers) is designed to work.
 There isn't a new installer type for every PHP application that requires a
 docroot.

 `composer/installers` is designed precisely to satisfy path requirements
 of [legacy] PHP applications. Which it already does for WP extensions, I
 merely propose to codify it for core as well.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23912#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list