Skip to content

Commit

Permalink
Fix environment type
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Oct 5, 2024
1 parent 43dbfc0 commit cf39a89
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 @@ -110,7 +110,7 @@ public function suggest_inspector_deactivation(): void {

$notification_id = 'gtmkit-event-inspector';

if ( $this->options->get( 'general', 'event_inspector' ) === false || ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE === 'xlocal' ) ) {
if ( $this->options->get( 'general', 'event_inspector' ) === false || ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE === 'local' ) ) {
$this->notifications_handler->remove_notification_by_id( $notification_id );
return;
}
Expand Down

0 comments on commit cf39a89

Please sign in to comment.