[wp-trac] [WordPress Trac] #25311: Replace PHP-serialized data with JSON in api.wordpress.org
WordPress Trac
noreply at wordpress.org
Mon Oct 21 18:49:59 UTC 2013
#25311: Replace PHP-serialized data with JSON in api.wordpress.org
--------------------------------+------------------
Reporter: scribu | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.7
Component: WordPress.org site | Version:
Severity: normal | Resolution:
Keywords: needs-docs |
--------------------------------+------------------
Changes (by johnbillion):
* keywords: => needs-docs
Comment:
We'll need a blog post on Make/Core about this change due to the
following.
Plugins that hook into the `http_request_args` filter in order to filter
out plugins or themes from the api.wordpress.org update checks will break
update checks entirely due to expecting serialised data and instead
getting JSON encoded data.
I've [https://github.com/cftp/external-update-
api/commit/281a0efbf6c2085cbd8c3d49814fce97c59a63b4 updated a plugin of
mine] so it supports JSON encoded data and serialised data, but I only did
this after getting PHP warnings and noticing that updates were broken.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25311#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list