X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..e059c33afecf52580f31b53393d6a95d08aaef35:/wp-content/themes/default/comments-popup.php diff --git a/wp-content/themes/default/comments-popup.php b/wp-content/themes/default/comments-popup.php index a57ff21c..49fe744a 100644 --- a/wp-content/themes/default/comments-popup.php +++ b/wp-content/themes/default/comments-popup.php @@ -1,9 +1,9 @@ - +/** + * @package WordPress + * @subpackage Default_Theme + */ +?> <?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?> @@ -19,11 +19,17 @@ while ( have_posts()) : the_post();

+

Comments

RSS feed for comments on this post.

-ping_status) { ?> +

The URL to TrackBack this entry is:

@@ -33,7 +39,7 @@ $commenter = wp_get_current_commenter(); extract($commenter); $comments = get_approved_comments($id); $post = get_post($id); -if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie +if ( post_password_required($post) ) { // and it doesn't match the cookie echo(get_the_password_form()); } else { ?> @@ -51,28 +57,26 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos

No comments yet.

-comment_status) { ?> +

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:

-

Logged in as . Log out »

+

Logged in as . Log out »

- + - - " />

- +

- +

@@ -84,6 +88,8 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos

+ + " />

ID); ?> @@ -97,9 +103,11 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos
Close this window.
- +

Sorry, no posts matched your criteria.

+

Powered by WordPress