From d1ee9106e935688e63aa824a9519451a2e09771b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 Feb 2008 10:27:09 +0100 Subject: [PATCH] fix escaping of entry_author for simplepie (closes #190) --- functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.php b/functions.php index 22ea8cb6..1ca8169a 100644 --- a/functions.php +++ b/functions.php @@ -882,6 +882,8 @@ $entry_author_item = $item->get_author(); $entry_author = $entry_author_item->get_name(); if (!$entry_author) $entry_author = $entry_author_item->get_email(); + + $entry_author = db_escape_string($entry_author); } } else { $entry_comments = strip_tags($item["comments"]); -- 2.39.5