[wp-trac] [WordPress Trac] #41524: Remove usage of each() from WP_Upgrader
WordPress Trac
noreply at wordpress.org
Wed Oct 11 04:25:16 UTC 2017
#41524: Remove usage of each() from WP_Upgrader
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: dd32
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.9
Component: Upgrade/Install | Version:
Severity: major | Resolution: fixed
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by dd32):
Thanks for the patch @chris at vendiadvertising.com, I simplified it a little
bit and removed the usage of passed references to simplify the code a
little.
There currently isn't any unit testing of the upgrade functionalities,
I've skipped including one as I'm not sure of the best method on how to do
that either.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41524#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list