Skip to content

Commit 037ecfc

Browse files
committed
Don't show plugin missconfiguration notice unless explicit disable
1 parent 0687666 commit 037ecfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/wc-aplazame-gateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function process_refund( $order_id, $amount = null, $reason = '' ) {
8686
}
8787

8888
public function checks() {
89-
if ( ! $this->enabled ) {
89+
if ( $this->enabled === 'no' ) {
9090
return;
9191
}
9292

0 commit comments

Comments
 (0)