[wp-trac] [WordPress Trac] #41524: Remove usage of each() from WP_Upgrader
WordPress Trac
noreply at wordpress.org
Mon Sep 25 21:15:18 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 chris@…):
I added a recursive version of flattening the files from
`$wp_filesystem->dirlist()`. I'm not 100% certain on rules for private or
underscore naming for internal functions.
I'd add a test but I'm honestly not sure where to start because as far as
I can tell there's no tests on the `WP_Upgrader` class.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41524#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list