[wp-hackers] No direct script access allowed
eric at eam.me
Tue Feb 28 22:57:06 UTC 2012
An equivalent would be along the lines of:
if ( ! defined( 'ABSPATH' ) ) die( 'No direct access allowed' );
On Tue, Feb 28, 2012 at 2:47 PM, Micky Hulse <mickyhulse.lists at gmail.com>wrote:
> 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.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers