[wp-trac] [WordPress Trac] #34052: Plugin-Install/Update Sections

WordPress Trac noreply at wordpress.org
Mon Sep 28 15:46:46 UTC 2015


#34052: Plugin-Install/Update Sections
------------------------------------+------------------------------
 Reporter:  floriansimeth           |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Plugins                 |     Version:  4.3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 I wonder if the hesitance to cast `$api->sections` as an array once and
 for all has anything to do with `install_plugin_install_status()` being
 recursive. At the very top, you can see that `$api` gets cast as an object
 on every recursion if it's an array.

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


More information about the wp-trac mailing list