forked from mirror/_s
_s: Removes unnecessary switch in and out of PHP.
This commit is contained in:
parent
6056c1ed66
commit
456cd3dd01
16
comments.php
16
comments.php
|
@ -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">
|
||||
|
|
Reference in New Issue