Drop the need for wp_parse_args to avoid the dependency
shadyvb opened this issue · 2 comments
shadyvb commented
Using wp_parse_args in https://github.com/stuttter/ludicrousdb/blob/master/ludicrousdb/includes/class-ludicrousdb.php#L343 adds an unnecessary dependency on wp-includes/functions.php
which limits the ways the drop-in can be loaded.
Replacing wp_parse_args
with array_merge
would have the same behavior.