[wp-trac] [WordPress Trac] #24152: Use JSON as alternative to headers
WordPress Trac
noreply at wordpress.org
Sun Jan 11 18:23:43 UTC 2015
#24152: Use JSON as alternative to headers
-----------------------------+----------------------
Reporter: ryanve | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Themes | Version:
Severity: normal | Resolution: wontfix
Keywords: close | Focuses:
-----------------------------+----------------------
Comment (by retlehs):
Time to revisit? The non-standard file headers specification is 17
different things, when it could be reduced to just "use valid JSON"
For backwards compat, the feature could work along the lines of: if less
than 4.x, use `get_file_data`, if newer, use `json_decode`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24152#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list