diff --git a/plugin-name/plugin-name.php b/plugin-name/plugin-name.php index c002f0a..a573b95 100644 --- a/plugin-name/plugin-name.php +++ b/plugin-name/plugin-name.php @@ -25,8 +25,8 @@ */ // If this file is called directly, abort. -if ( ! defined( 'ABSPATH' ) ) { - exit; +if ( ! defined( 'WPINC' ) ) { + die; } // TODO: replace `class-plugin-boilerplate.php` with the name of the actual plugin's class file