[wp-trac] [WordPress Trac] #37731: Infinite loop in _wp_json_sanity_check() during plugin install

WordPress Trac noreply at wordpress.org
Wed Aug 31 18:11:57 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 fixed-major  |     Focuses:  administration
-----------------------------------+-----------------------------
Changes (by jeremyfelt):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38475"]:
 {{{
 #!CommitTicketReference repository="" revision="38475"
 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.

 Merge of [38415] to the 4.6 branch.

 Props ionutst, gitlost, swissspidy.
 Fixes #37731.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37731#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list