X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/959f97d8ecd5c1668103a3e41c795486b944bc68..7160a0bb85708fe18beae56a6dfd046520f300bd:/wp-content/themes/classic/comments-popup.php diff --git a/wp-content/themes/classic/comments-popup.php b/wp-content/themes/classic/comments-popup.php index 4e0a6057..68d5a9c2 100644 --- a/wp-content/themes/classic/comments-popup.php +++ b/wp-content/themes/classic/comments-popup.php @@ -1,9 +1,9 @@ - +/** + * @package WordPress + * @subpackage Classic_Theme + */ +?> <?php echo get_option('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?> @@ -19,11 +19,18 @@ while( have_posts()) : the_post();

+ +

RSS feed for comments on this post."); ?>

-ping_status) { ?> +

URL to TrackBack this entry is:"); ?>

@@ -33,7 +40,7 @@ $commenter = wp_get_current_commenter(); extract($commenter); $comments = get_approved_comments($id); $commentstatus = get_post($id); -if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $commentstatus->post_password) { // and it doesn't match the cookie +if ( post_password_required($commentstatus) ) { // and it doesn't match the cookie echo(get_the_password_form()); } else { ?> @@ -42,7 +49,7 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH
  • -

    @

    +

    @

  • @@ -51,28 +58,26 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH

    -comment_status) { ?> +

    HTML allowed:"); ?>

    - -

    '.$user_identity.''); ?>

    + +

    '.$user_identity.''); ?>

    - + - - " />

    - +

    - +

    @@ -84,7 +89,9 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH

    - " /> + + " /> + " />

    ID); ?>
    @@ -97,8 +104,11 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH
    +

    Sorry, no posts matched your criteria.

    +