Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arnas committed Jan 23, 2024
1 parent d01c839 commit f22fd4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions omnisend/class-omnisend-core-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public static function load() {
return; // Do not load if "Omnisend for WooCommerce" or "WooCommerce" plugins are active.
}

// phpcs:disable WordPress.Security.NonceVerification
if ( isset( $_GET['page'] ) ) {
if ( in_array( $_GET['page'], array( 'omnisend' ), true ) ) {
wp_enqueue_style(
Expand Down
2 changes: 1 addition & 1 deletion omnisend/module/class-omnisend-core-connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function display() {
}

if ( $connected ) {
require_once 'view/connection-success.php';
require_once 'view/connection-success.html';
return;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@



<div class="omnisend-connect">
<div class="omnisend-logo">
<img src="<?php echo plugins_url( 'omnisend/module/assets/img/omnisend-logo.svg' ); ?>" border="0" />
Expand Down

0 comments on commit f22fd4a

Please sign in to comment.