Adding direct access prevention to files

This commit is contained in:
2021-09-14 12:39:25 -06:00
parent 023c0f53e6
commit 3e03887bda
11 changed files with 61 additions and 18 deletions

View File

@ -1,12 +1,11 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
// Exit if accessed directly
exit;
}
// This constant gets set when WordPress' uninstall.php file is invoked.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
// This constant gets set when WordPress' uninstall.php file is invoked.
exit;
}