[theme-reviewers] Direct access prevention in comments.php - required or recommended?

Vicky Arulsingam vicky.arulsingam at gmail.com
Sat Sep 24 01:23:36 UTC 2011

I'm seeking clarification regarding the use of:

if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) )
die ( 'Please do not load this page directly. Thanks.' );

I've been requiring that themes not include this. Am I correct in doing so
or is the removal merely a recommendation?

Vicky Arulsingam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110924/30513809/attachment.htm>

More information about the theme-reviewers mailing list