]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/content-image.php
Wordpress 3.2.1
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / content-image.php
index 0c55dc74500ec04f147087c854f5d1aac12cd048..58aaf129d7c84f9b159ba1b6ab1d470c4c38abb2 100644 (file)
@@ -16,7 +16,7 @@
                                <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
                        </hgroup>
 
-                       <?php if ( comments_open() ) : ?>
+                       <?php if ( comments_open() && ! post_password_required() ) : ?>
                        <div class="comments-link">
                                <?php comments_popup_link( '<span class="leave-reply">' . __( "Reply", 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
                        </div>