diff --git a/wp-content/themes/twentytwelve/comments.php b/wp-content/themes/twentytwelve/comments.php index c314d81533..2bb01d0918 100644 --- a/wp-content/themes/twentytwelve/comments.php +++ b/wp-content/themes/twentytwelve/comments.php @@ -11,16 +11,16 @@ * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ + +/* + * 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; ?> - +