Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unneeded code from comments.php.

  • Loading branch information...
commit e3cc147ab8a0fc16e2bb42405ca86df468470c61 1 parent 3317c8f
@justintadlock authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 comments.php
View
4 comments.php
@@ -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!', 'trending' ) );
-
/* 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;
Please sign in to comment.
Something went wrong with that request. Please try again.