summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/classic/comments-popup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-23 10:32:27 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-23 10:32:27 +0000
commit655a7fc3d336fb36671e2d8ab5bda4229aecfdce (patch)
treea377e02196f988c6d3337601fbba79304950da3c /wp-content/themes/classic/comments-popup.php
parentd48e85e0ac5e675ca33fac173f30c75403d1033f (diff)
downloadwordpress-mu-655a7fc3d336fb36671e2d8ab5bda4229aecfdce.tar.gz
wordpress-mu-655a7fc3d336fb36671e2d8ab5bda4229aecfdce.tar.xz
wordpress-mu-655a7fc3d336fb36671e2d8ab5bda4229aecfdce.zip
WP merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@592 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content/themes/classic/comments-popup.php')
-rw-r--r--wp-content/themes/classic/comments-popup.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/wp-content/themes/classic/comments-popup.php b/wp-content/themes/classic/comments-popup.php
index 7a209a2..49ffe3c 100644
--- a/wp-content/themes/classic/comments-popup.php
+++ b/wp-content/themes/classic/comments-popup.php
@@ -29,9 +29,8 @@ foreach ($posts as $post) { start_wp();
<?php
// this line is WordPress' motor, do not delete it.
-$comment_author = (isset($_COOKIE['comment_author_' . COOKIEHASH])) ? trim($_COOKIE['comment_author_'. COOKIEHASH]) : '';
-$comment_author_email = (isset($_COOKIE['comment_author_email_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_email_'. COOKIEHASH]) : '';
-$comment_author_url = (isset($_COOKIE['comment_author_url_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_url_'. COOKIEHASH]) : '';
+$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