diff --git a/omnisend/class-omnisend-core-bootstrap.php b/omnisend/class-omnisend-core-bootstrap.php index 9d1b139..48f8a2d 100644 --- a/omnisend/class-omnisend-core-bootstrap.php +++ b/omnisend/class-omnisend-core-bootstrap.php @@ -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( diff --git a/omnisend/module/class-omnisend-core-connection.php b/omnisend/module/class-omnisend-core-connection.php index f25362b..44efccb 100644 --- a/omnisend/module/class-omnisend-core-connection.php +++ b/omnisend/module/class-omnisend-core-connection.php @@ -35,7 +35,7 @@ public static function display() { } if ( $connected ) { - require_once 'view/connection-success.php'; + require_once 'view/connection-success.html'; return; } diff --git a/omnisend/module/view/connection-success.php b/omnisend/module/view/connection-success.html similarity index 99% rename from omnisend/module/view/connection-success.php rename to omnisend/module/view/connection-success.html index 6750eaa..ef7bd12 100644 --- a/omnisend/module/view/connection-success.php +++ b/omnisend/module/view/connection-success.html @@ -1,3 +1,6 @@ + + +