[wp-trac] [WordPress Trac] #37731: Infinite loop in _wp_json_sanity_check() during plugin install
WordPress Trac
noreply at wordpress.org
Sun Aug 28 10:03:04 UTC 2016
#37731: Infinite loop in _wp_json_sanity_check() during plugin install
-----------------------------+-----------------------------
Reporter: maestrosite | Owner: swissspidy
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6.1
Component: Upgrade/Install | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
-----------------------------+-----------------------------
Changes (by swissspidy):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38415"]:
{{{
#!CommitTicketReference repository="" revision="38415"
Upgrade/Install: After [37687], fix the number of params passed to the
upgrade hooks.
`wp_version_check()`, `wp_update_plugins()` and `wp_update_themes()` are
all originally hooked to the `upgrader_process_complete` action with zero
arguments passed to them. Zero arguments should be passed when re-adding
them after translation updates, otherwise the sky will fall.
Props ionutst, gitlost.
Fixes #37731.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37731#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list