Opened 6 years ago
Closed 6 years ago
#44893 closed enhancement (fixed)
Add support for an optional `$options` parameter to `populate_options()`
Reported by: | flixos90 | Owned by: | flixos90 |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch has-unit-tests |
Focuses: | multisite | Cc: |
Description
It should be possible to provide custom options to populate_options()
when populating a new site with their options. This came up during work on #41333.
Attachments (1)
Change History (7)
#4
@
6 years ago
Minor issue: The options merging can use array_merge()
instead of wp_parse_args()
as we're only dealing with arrays. The argument order needs to be reversed though.
Note: See
TracTickets for help on using
tickets.
In 43627: