From 21059f5cbb67114c5f4fc7f99f8abcfeec758a71 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:34:28 +0100 Subject: [PATCH] Add `if ( ! defined( 'ABSPATH' ) )`. --- views/checkout-drop-in.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/checkout-drop-in.php b/views/checkout-drop-in.php index d045ab9..4e66b04 100644 --- a/views/checkout-drop-in.php +++ b/views/checkout-drop-in.php @@ -8,6 +8,10 @@ * @package Pronamic\WordPress\Pay */ +if ( ! defined( 'ABSPATH' ) ) { + exit; +} + ?>