Skip to content

Commit

Permalink
Fix suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Oct 28, 2024
1 parent a5936db commit d7f1610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/Suggestions.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function suggest_log_deactivation(): void {
$console_log = $this->options->get( 'general', 'console_log' );
$debug_og = $this->options->get( 'general', 'debug_log' );

if ( ( ! $console_log && $debug_og ) || ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE === 'local' ) ) {
if ( ( ! $console_log && ! $debug_og ) || ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE === 'local' ) ) {
$this->notifications_handler->remove_notification_by_id( $notification_id );
return;
}
Expand Down

0 comments on commit d7f1610

Please sign in to comment.