Skip to content

Commit

Permalink
"get_option" function call fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed Jan 5, 2021
1 parent be813fc commit 9256fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-admin.php
Expand Up @@ -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'] ) ) {
Expand Down

0 comments on commit 9256fdb

Please sign in to comment.