diff options
author | Andrew Dolgov <[email protected]> | 2008-02-20 06:43:41 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-02-20 06:43:41 +0100 |
commit | 4af7a36aa7ccb72aa6f78fdb799d8b8eef0b358b (patch) | |
tree | c9ad0742b0687227ea5e57a3208bd5945ce224d1 /functions.php | |
parent | af9964d3b93e59715fb9794898ec1e7a437a86dc (diff) |
simplepie: import entry content when possible, not just description (closes #192)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 05ba701af..591819adf 100644 --- a/functions.php +++ b/functions.php @@ -848,7 +848,8 @@ $entry_link = strip_tags($entry_link); if ($use_simplepie) { - $entry_content = $item->get_description(); + $entry_content = $item->get_content(); + if (!$entry_content) $entry_content = $item->get_description(); } else { $entry_content = $item["content:escaped"]; |