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

WordPress Trac noreply at wordpress.org
Fri Mar 18 15:51:36 UTC 2016


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

Comment (by DvanKooten):

 YES PLEASE.

 On top of all already mentioned benefits, this'll ditch the dependency on
 `get_file_data()` to read the plugin/theme information making it much
 easier to get that same info from outside of WordPress. Gulp was mentioned
 already but there's loads more of course.

 `wp_get_theme()` and `get_plugin_data()` could take care of this in a
 backwards compatible way, so that can't be a reason not do this.

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


More information about the wp-trac mailing list