From afe7eb17a40c0d168ef3af6cccee34b137ff2238 Mon Sep 17 00:00:00 2001 From: Milana Cap Date: Fri, 16 May 2025 13:54:19 +0200 Subject: [PATCH] Adds ABSPATH check in plugin.mustache file --- templates/plugin.mustache | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/plugin.mustache b/templates/plugin.mustache index 1f6190bd..097fc41e 100644 --- a/templates/plugin.mustache +++ b/templates/plugin.mustache @@ -13,3 +13,6 @@ */ // Your code starts here. +if ( ! defined( 'ABSPATH' ) ) { + exit; +}