Filter on the_content_rss. Props Kafkaesqui. fixes #1685

git-svn-id: http://svn.automattic.com/wordpress/trunk@3140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-11-17 23:17:06 +00:00
parent 90004a8ae6
commit 2b178e8737
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function the_title_rss() {
function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
$content = get_the_content($more_link_text, $stripteaser, $more_file); $content = get_the_content($more_link_text, $stripteaser, $more_file);
$content = apply_filters('the_content', $content); $content = apply_filters('the_content_rss', $content);
if ($cut && !$encode_html) { if ($cut && !$encode_html) {
$encode_html = 2; $encode_html = 2;
} }