-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
I've encounter several problems while working with the plugin with nested taxonomies in RestrictTaxs_options. I've found also that removing taxonomies in the RestrictTaxs_options from the option page dindn't always work.
The problem reside inside the options_sanitize function that make a array_replace_recursive (restrict-taxonomies.php:387) on each RestrictTaxs options. As their is always a RestrictCategoriesDefault inside each RestrictTaxs options, array_replace_recursive just pass by each removed RestrictTaxs_options or nested child.
Replacing array_replace_recursive for array_replace made the trick to get the appropriate behavior.
I can make a pull requests if needed, but a proper fix would be appreciated :)
Metadata
Metadata
Assignees
Labels
No labels