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

WordPress Trac noreply at wordpress.org
Tue Aug 23 23:19:43 UTC 2016


#37731: Infinite loop in _wp_json_sanity_check() during plugin install
-------------------------------------+-----------------------------
 Reporter:  maestrosite              |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.6.1
Component:  Plugins                  |     Version:  4.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by gitlost):

 Ah, see now that the only issue is that
 `Language_Pack_Upgrader::bulk_upgrade()` is adding back the 3 actions
 without specifying zero arguments (didn't know that worked!), so don't
 need no shim schims, just explicit arguments to `add_action()`. That makes
 the patch nice and simple.

 This was added in [https://core.trac.wordpress.org/changeset/37687 r37687]
 2 months ago so only affects 4.6.

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


More information about the wp-trac mailing list