Skip to content

Commit

Permalink
Tweak WPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
champsupertramp committed Sep 30, 2024
1 parent 6e0cc2f commit 3974b73
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/um-block-emails/src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Check failure on line 74 in src/um-block-emails/src/Core.php

View workflow job for this annotation

GitHub Actions / WPCS

Expected 1 space after comma in argument list; 2 found


}
}

Expand Down

0 comments on commit 3974b73

Please sign in to comment.