diff --git a/src/Telemetry/Opt_In/Status.php b/src/Telemetry/Opt_In/Status.php index bae1d11..fc77cb9 100644 --- a/src/Telemetry/Opt_In/Status.php +++ b/src/Telemetry/Opt_In/Status.php @@ -74,7 +74,7 @@ public function get() { $option = $this->get_option(); $plugins = isset( $option['plugins'] ) ? $option['plugins'] : []; - if ( ! isset( $plugins ) || count( $plugins ) === 0 ) { + if ( count( $plugins ) === 0 ) { $status = false; }