summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-13 10:27:09 +0100
committerAndrew Dolgov <[email protected]>2008-02-13 10:27:09 +0100
commitd1ee9106e935688e63aa824a9519451a2e09771b (patch)
tree68050a41bf0e5f50a4de9990c666dacd02f8b5b0 /functions.php
parenta0c42c650c02dea1aa6f0b39d3b55667522137d2 (diff)
fix escaping of entry_author for simplepie (closes #190)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 22ea8cb67..1ca8169af 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"]);