Skip to content

Commit afe7eb1

Browse files
authored
Adds ABSPATH check in plugin.mustache file
1 parent 74e0807 commit afe7eb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/plugin.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
*/
1414

1515
// Your code starts here.
16+
if ( ! defined( 'ABSPATH' ) ) {
17+
exit;
18+
}

0 commit comments

Comments
 (0)