_s: Removes unnecessary switch in and out of PHP.

This commit is contained in:
obenland 2013-04-28 04:13:55 -07:00
parent 6056c1ed66
commit 456cd3dd01
1 changed files with 7 additions and 9 deletions

View File

@ -9,16 +9,14 @@
*
* @package _s
*/
?>
<?php
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() )
return;
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() )
return;
?>
<div id="comments" class="comments-area">