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:
parent
90004a8ae6
commit
2b178e8737
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue