[wp-hackers] No direct script access allowed

Micky Hulse mickyhulse.lists at gmail.com
Tue Feb 28 22:47:47 UTC 2012


Hi,

When writing ExpressionEngine plugins, there's this at the top:

if ( ! defined('BASEPATH')) exit('No direct script access allowed');

Could I include something similar in a WP plugin?

Just curious.

Thanks!
Micky


More information about the wp-hackers mailing list