Closed nate-allen closed 1 year ago
Fixes issue caused by comparing the value of get_option with !==. Instead, just check the value directly. If the value hasn't been set, get_option will return false. Otherwise, if any value has been set, then it'll evaluate as true
get_option
!==
false
true
Also fixes a bunch of phpcs issues.
Fixes issue caused by comparing the value of
get_option
with!==
. Instead, just check the value directly. If the value hasn't been set,get_option
will returnfalse
. Otherwise, if any value has been set, then it'll evaluate astrue
Also fixes a bunch of phpcs issues.