[wp-trac] [WordPress Trac] #44893: Add support for an optional `$options` parameter to `populate_options()`

WordPress Trac noreply at wordpress.org
Wed Sep 5 13:08:03 UTC 2018


#44893: Add support for an optional `$options` parameter to `populate_options()`
--------------------------------------+------------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  Upgrade/Install           |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------

Comment (by johnbillion):

 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.

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


More information about the wp-trac mailing list