Permalink
Browse files

Remove useless code at the top of comments.php template.

  • Loading branch information...
1 parent 59a732c commit 9bc91baabe198caaa0f95825fcfbc4e911531613 @justintadlock committed Aug 23, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 comments.php
View
@@ -9,10 +9,6 @@
* @subpackage Template
*/
-/* Kill the page if trying to access this template directly. */
-if ( 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) )
- die( __( 'Please do not load this page directly. Thanks!', 'prototype' ) );
-
/* If a post password is required or no comments are given and comments/pings are closed, return. */
if ( post_password_required() || ( !have_comments() && !comments_open() && !pings_open() ) )
return;

0 comments on commit 9bc91ba

Please sign in to comment.