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

git-svn-id: https://develop.svn.wordpress.org/trunk@6750 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-07 18:01:33 +00:00
parent a132f8d9a6
commit e32b80a14c
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() {