Opened 8 years ago
Closed 8 years ago
#44895 closed enhancement (fixed)
Outsource network option handling from `populate_network()` to a new `populate_network_meta()`
| Reported by: | flixos90 | Owned by: | flixos90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | multisite |
Description
Currently, populate_network() has too many responsibilities. Populating network meta is an atomic part of it which can easily be outsourced. Furthermore, a new populate_network_meta() function could support an optional $meta parameter to pass custom metadata, and that bit could finally be unit-tested. This came up during work on #41333.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 43628: