[wp-trac] [WordPress Trac] #51609: Auto update remove custom API data from plugin endpoint.
WordPress Trac
noreply at wordpress.org
Mon Nov 2 19:11:48 UTC 2020
#51609: Auto update remove custom API data from plugin endpoint.
-----------------------------+-----------------------------
Reporter: peterwilsoncc | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Upgrade/Install | Version: 5.5.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
-----------------------------+-----------------------------
Changes (by desrosj):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49477" 49477]:
{{{
#!CommitTicketReference repository="" revision="49477"
Upgrade/Install: Prevent removal of additional data from plugin update
info.
This switches to using `wp_parse_args()` instead of a combination of
`array_merge()` and `array_intersect_key()` when ensuring that all
expected default keys are present in the update information for a plugin.
This prevents non-default data returned by 3rd-party plugins from being
unintentionally stripped out.
Props peterwilsoncc, chriscct7.
Fixes #51609.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51609#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list