[wp-trac] [WordPress Trac] #41524: Remove usage of each() from WP_Upgrader

WordPress Trac noreply at wordpress.org
Tue Aug 1 23:39:41 UTC 2017


#41524: Remove usage of each() from WP_Upgrader
------------------------------------------------------+------------------
 Reporter:  johnbillion                               |       Owner:
     Type:  task (blessed)                            |      Status:  new
 Priority:  normal                                    |   Milestone:  4.9
Component:  Upgrade/Install                           |     Version:
 Severity:  major                                     |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-tests  |     Focuses:
------------------------------------------------------+------------------

Comment (by johnbillion):

 Actually, I'm going to wager that this does not work, because the
 intention of the original code was to append items to `$_files` during
 iteration, so that they too are iterated over.

 Kill me.

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


More information about the wp-trac mailing list