From abbf6216cbe32ebd66efe7a06fdd22ec4eda9e71 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Wed, 2 Jan 2008 10:12:57 +0000 Subject: [PATCH] * Fix displaying entry title in the backend section exactly like in the frontend, thanks to Alex (garvinhicking) --- docs/NEWS | 3 +++ include/admin/comments.inc.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/NEWS b/docs/NEWS index 1de5d46..1a6f509 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.3 () ------------------------------------------------------------------------ + * Fix displaying entry title in the backend section exactly like + in the frontend, thanks to Alex (garvinhicking) + * Added hooks to trackback listing in order to let plugins change it (the avatar plugin in example) (brockhaus) diff --git a/include/admin/comments.inc.php b/include/admin/comments.inc.php index 5f294d7..53050a0 100644 --- a/include/admin/comments.inc.php +++ b/include/admin/comments.inc.php @@ -406,7 +406,7 @@ foreach ($sql as $rs) { - '. $comment['title'] .', '. ON . ' ' . serendipity_mb('ucfirst', serendipity_strftime('%b %e %Y, %H:%M', $comment['timestamp']))?> + '. htmlspecialchars($comment['title']) .', '. ON . ' ' . serendipity_mb('ucfirst', serendipity_strftime('%b %e %Y, %H:%M', $comment['timestamp']))?> -- 2.39.5