diff --git a/infobox.php b/infobox.php index 1a5ced9..a7d15ae 100644 --- a/infobox.php +++ b/infobox.php @@ -14,6 +14,11 @@ * @package infobox */ +// Exit if accessed directly. +if ( ! defined( 'ABSPATH' ) ) { + exit; +} + /** * Registers all block assets so that they can be enqueued through the block editor * in the corresponding context.