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 Aug 20, 2020
1 parent 72c1a63 commit 9d3d501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-admin.php
Original file line number Diff line number Diff line change
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 9d3d501

Please sign in to comment.