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

WordPress Trac noreply at wordpress.org
Sun Apr 21 19:06:59 UTC 2013


#24152: Use JSON as alternative to headers
-----------------------------+--------------------------
 Reporter:  ryanve           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 Themes are
 [http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme
 required] to include style.css for its header info. Plugins are
 [http://codex.wordpress.org/Writing_a_Plugin#File_Headers required] to
 contain header info in their main file. It makes more
 [http://en.wikipedia.org/wiki/Single_responsibility_principle sense] to
 store package info in [http://en.wikipedia.org/wiki/JSON JSON]. A filename
 like theme.json or plugin.json (or an all-encompassing wordpress.json)
 seems viable. When present, the JSON file would be favored over the
 headers. This would make it possible to have a theme without a style.css
 file.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24152>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list