forked from Michel2/wp-jquery-datatable
Added security measurement to prevent the public to run the php-script directly
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
* WordPress Tested up to: 7.0.2
|
||||
*/
|
||||
|
||||
if (!defined('ABSPATH')) {
|
||||
die('Invalid request.');
|
||||
}
|
||||
|
||||
register_activation_hook(__FILE__, 'wp_jdt_activate_plugin');
|
||||
function wp_jdt_activate_plugin()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user