Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: https://develop.svn.wordpress.org/trunk@5134 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f9b141865b
commit
9cfc001d44
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
function get_bloginfo_rss($show = '') {
|
function get_bloginfo_rss($show = '') {
|
||||||
$info = strip_tags(get_bloginfo($show));
|
$info = strip_tags(get_bloginfo($show));
|
||||||
return apply_filters('bloginfo_rss', convert_chars($info));
|
return apply_filters('get_bloginfo_rss', convert_chars($info));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function bloginfo_rss($show = '') {
|
function bloginfo_rss($show = '') {
|
||||||
echo get_bloginfo_rss($show);
|
echo apply_filters('bloginfo_rss', get_bloginfo_rss($show));
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_wp_title_rss($sep = '»') {
|
function get_wp_title_rss($sep = '»') {
|
||||||
|
|
Loading…
Reference in New Issue