Adding direct access prevention to files
This commit is contained in:
@ -5,7 +5,7 @@ namespace PluginNamespace;
|
||||
use WP_CLI;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
exit;
|
||||
}
|
||||
|
||||
class NmspCli {
|
||||
|
Reference in New Issue
Block a user