[wp-trac] [WordPress Trac] #24152: Use JSON as alternative to headers

WordPress Trac noreply at wordpress.org
Wed Jan 21 17:23:41 UTC 2015


#24152: Use JSON as alternative to headers
-----------------------------+-----------------------
 Reporter:  ryanve           |       Owner:
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:
-----------------------------+-----------------------

Comment (by TJNowell):

 I would rather we allowed the use of `package.json` or `composer.json`
 rather than a new file and specification. `composer.json` already has
 precedents for defining a wordpress theme, and provisions for any
 additional data not already covered. It's a spec already in use by various
 projects and the PHP world at large, with a well tested toolchain.

 If we added another json file, we could have the same information in 3
 files if someone who uses Composer decided to also use grunt etc, which is
 an unnecessary level of redundancy to keep track of.

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


More information about the wp-trac mailing list