From 9d3d5013d18e20878ba6f886ea374f3c60126f1f Mon Sep 17 00:00:00 2001 From: Geoff Taylor Date: Thu, 20 Aug 2020 15:28:57 -0400 Subject: [PATCH] "get_option" function call fixed. --- classes/class-admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ) ) {