Pass 'show' argument to bloginfo_rss filters. Props tzafrir and Viper007Bond. fixes #5267

git-svn-id: http://svn.automattic.com/wordpress/trunk@6750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-07 18:01:33 +00:00
parent 596f6b0583
commit 7646d94d88
1 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@
function get_bloginfo_rss($show = '') {
$info = strip_tags(get_bloginfo($show));
return apply_filters('get_bloginfo_rss', convert_chars($info));
return apply_filters('get_bloginfo_rss', convert_chars($info), $show);
}
function bloginfo_rss($show = '') {
echo apply_filters('bloginfo_rss', get_bloginfo_rss($show));
echo apply_filters('bloginfo_rss', get_bloginfo_rss($show), $show);
}
function get_default_feed() {