[wp-trac] [WordPress Trac] #37823: Use get_sites in Network upgrade

WordPress Trac noreply at wordpress.org
Fri Sep 30 03:48:10 UTC 2016


#37823: Use get_sites in Network upgrade
--------------------------------+-------------------------
 Reporter:  spacedmonkey        |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  reviewing
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch needs-unit-tests => has-patch
 * owner:   => jeremyfelt
 * status:  new => reviewing


Comment:

 Replying to [comment:6 flixos90]:
 > Maybe we should move the relevant parts here into an actual function,
 something like `upgrade_network_sites()`. This would allow us to better
 add unit tests for it.

 [attachment:37823.5.diff] looks good. Let's hold off on creating an
 `upgrade_network_sites()` or similar until we explore #11869, #37799, and
 others a bit more. We may end up refactoring this page in other ways.

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


More information about the wp-trac mailing list