From 85bb9731486faf178c137abeed57e499de39deea Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@4890 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 269e8a8cf7..8c0ba251e6 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 c8122937cd..04dba338fe 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

+