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
|
* @package _s
|
||||||
*/
|
*/
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
/*
|
||||||
/*
|
* If the current post is protected by a password and
|
||||||
* If the current post is protected by a password and
|
* the visitor has not yet entered the password we will
|
||||||
* the visitor has not yet entered the password we will
|
* return early without loading the comments.
|
||||||
* return early without loading the comments.
|
*/
|
||||||
*/
|
if ( post_password_required() )
|
||||||
if ( post_password_required() )
|
return;
|
||||||
return;
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="comments" class="comments-area">
|
<div id="comments" class="comments-area">
|
||||||
|
|
Reference in New Issue