_s: Remove password-protected message from comments.php. fixes #1217

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9480 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
Michael Fields 2012-04-23 21:08:58 +00:00
parent a5e58b8ac5
commit edf08c67b5
1 changed files with 11 additions and 11 deletions

View File

@ -11,18 +11,18 @@
* @since _s 1.0 * @since _s 1.0
*/ */
?> ?>
<div id="comments" class="comments-area">
<?php if ( post_password_required() ) : ?> <?php
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', '_s' ); ?></p> /*
</div><!-- #comments .comments-area --> * If the current post is protected by a password and
<?php * the visitor has not yet entered the password we will
/* Stop the rest of comments.php from being processed, * return early without loading the comments.
* but don't kill the script entirely -- we still have
* to fully load the template.
*/ */
if ( post_password_required() )
return; return;
endif; ?>
?>
<div id="comments" class="comments-area">
<?php // You can start editing here -- including this comment! ?> <?php // You can start editing here -- including this comment! ?>