Skip to content
Commit 12fb9535 authored by Eric Mann's avatar Eric Mann
Browse files

Remove the add_option() fallback

Previously, we were attempting to explicitly add the option first and only
calling `update_option()` the option didn't exist. This was both to
explicitly force the option to autoload and also to ensure a minimum
amount of code was called (`update_option()` runs several filters and
eventually defers to `add_option()` for a new option anyway). However, to
avoid confusion, we'll just settle with `update_option()` regardless if
the option exists or not.
parent 0c7ac67e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment