Opened 8 years ago
Closed 8 years ago
#44893 closed enhancement (fixed)
Add support for an optional `$options` parameter to `populate_options()`
| 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
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
@
8 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 43627: