diff --git a/classes/class-admin.php b/classes/class-admin.php index c80ab6949..15148bfab 100644 --- a/classes/class-admin.php +++ b/classes/class-admin.php @@ -750,7 +750,7 @@ public function purge_scheduled_action() { if ( is_multisite() && $this->plugin->is_network_activated() ) { $options = (array) get_site_option( 'wp_stream_network', $defaults ); } else { - $options = (array) get_option( 'wp_stream', array(), $defaults ); + $options = (array) get_option( 'wp_stream', $defaults ); } if ( ! empty( $options['general_keep_records_indefinitely'] ) || ! isset( $options['general_records_ttl'] ) ) {