From 3974b7387e4bd5db75e79675c6ee8707c5152c0e Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Mon, 30 Sep 2024 23:16:29 +0800 Subject: [PATCH] Tweak WPCS --- src/um-block-emails/src/Core.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/um-block-emails/src/Core.php b/src/um-block-emails/src/Core.php index 8a8adba..a54df04 100644 --- a/src/um-block-emails/src/Core.php +++ b/src/um-block-emails/src/Core.php @@ -67,13 +67,11 @@ function ( $host ) { ); } - if( \UM()->options()->get( 'blocked_disposable_emails' ) ) { - \UM()->options()->remove( 'blocked_disposable_emails'); + if ( \UM()->options()->get( 'blocked_disposable_emails' ) ) { + \UM()->options()->remove( 'blocked_disposable_emails' ); } update_option( 'um_extended_option_block_disposable_emails', implode( PHP_EOL, $arr_email_formatted ), false ); - - } }