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:
parent
596f6b0583
commit
7646d94d88
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue