[wp-trac] [WordPress Trac] #24152: Use JSON as alternative to headers
WordPress Trac
noreply at wordpress.org
Sat Sep 26 22:42:19 UTC 2015
#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 jamesgol):
I was going to open a ticket like this and found this while searching. In
my tests the JSON method is significantly faster and provides further
capabilities (namely including values in an array as part of an arbitrary
header which would be required for an idea I am toying around with).
There is already a readme.txt validator on wordpress.org, there could
easily be a json validator as well as many other ways to automatically
generate the required files.
It would be trivial to keep this backwards compatible, as if the required
json file doesn't exist it falls back to the old method (unless disabled
via a defined constant or past a version if ever deprecated).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24152#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list