From 4280a27b44bab045c75f8e0e0db58b84839fdabf Mon Sep 17 00:00:00 2001 From: markjaquith Date: Fri, 16 Feb 2007 04:36:51 +0000 Subject: [PATCH] Detect whether a user is logged in for popup comments templates in default and classic themes. props skippy, Nazgul, rob1n. fixes #1065 git-svn-id: http://svn.automattic.com/wordpress/trunk@4890 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/classic/comments-popup.php | 4 ++++ wp-content/themes/default/comments-popup.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/wp-content/themes/classic/comments-popup.php b/wp-content/themes/classic/comments-popup.php index 269e8a8cf..8c0ba251e 100644 --- a/wp-content/themes/classic/comments-popup.php +++ b/wp-content/themes/classic/comments-popup.php @@ -56,6 +56,9 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH

HTML allowed:"); ?>

+ +

Logged in as . Logout »

+

@@ -72,6 +75,7 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH

+

diff --git a/wp-content/themes/default/comments-popup.php b/wp-content/themes/default/comments-popup.php index c8122937c..04dba338f 100644 --- a/wp-content/themes/default/comments-popup.php +++ b/wp-content/themes/default/comments-popup.php @@ -56,6 +56,9 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos

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

+ +

Logged in as . Logout »

+

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

+