Closed cjg89 closed 3 years ago
https://github.com/UCF/UCF-Resource-Search-Plugin/blob/66a96368cbb3c321bed963d913f6488c4b00f8ad/includes/ucf-resource-search-common.php#L9-L13
Need to enforce an expected default value of true when calling get_option() here; otherwise it'll return empty if the user hasn't force-saved the plugin options at least once.
true
get_option()
Resolved in v1.0.6.
https://github.com/UCF/UCF-Resource-Search-Plugin/blob/66a96368cbb3c321bed963d913f6488c4b00f8ad/includes/ucf-resource-search-common.php#L9-L13
Need to enforce an expected default value of
true
when callingget_option()
here; otherwise it'll return empty if the user hasn't force-saved the plugin options at least once.