Skip to content

Commit 5a30423

Browse files
committed
Prevent direct file access
1 parent 00c2c4d commit 5a30423

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

includes/Classifai/Features/QuickDraftIntegration.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
use function Classifai\get_asset_info;
1616

17+
if ( ! defined( 'ABSPATH' ) ) {
18+
exit;
19+
}
20+
1721
/**
1822
* Quick Draft Integration Feature.
1923
*

0 commit comments

Comments
 (0)