diff --git a/wp-content/themes/twentytwelve/comments.php b/wp-content/themes/twentytwelve/comments.php index 1797d193bd..c43101358d 100644 --- a/wp-content/themes/twentytwelve/comments.php +++ b/wp-content/themes/twentytwelve/comments.php @@ -49,7 +49,7 @@ if ( post_password_required() ) /* If there are no comments and comments are closed, let's leave a note. * But we only want the note on posts and pages that had comments in the first place. */ - if ( ! comments_open() && ! empty( $comments_by_type['comment'] ) ) : ?> + if ( ! comments_open() && get_comments_number() ) : ?>

diff --git a/wp-content/themes/twentytwelve/single.php b/wp-content/themes/twentytwelve/single.php index 8dedbfc206..38a813bc04 100644 --- a/wp-content/themes/twentytwelve/single.php +++ b/wp-content/themes/twentytwelve/single.php @@ -22,11 +22,7 @@ get_header(); ?> ' . _x( '→', 'Next post link', 'twentytwelve' ) . '' ); ?> - +