updated options to make them not automatically loaded when added
This commit is contained in:
@@ -58,7 +58,7 @@ class Fbpatch {
|
||||
*/
|
||||
$raw_patches_option = get_option(self::$_patches['_name']);
|
||||
if (false === $raw_patches_option) {
|
||||
add_option(self::$_patches['_name']);
|
||||
add_option(self::$_patches['_name'], '', '', 'no');
|
||||
}
|
||||
$patches_option = unserialize($raw_patches_option);
|
||||
if (empty($patches_option)) {
|
||||
|
||||
Reference in New Issue
Block a user