Add get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=971 Hat tip: nbachiyski

git-svn-id: http://svn.automattic.com/wordpress/trunk@2380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-02-25 15:52:28 +00:00
parent eb8369937f
commit b07728b5ee
1 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,12 @@
<?php <?php
function bloginfo_rss($show='') { function get_bloginfo_rss($show = '') {
$info = strip_tags(get_bloginfo($show)); $info = strip_tags(get_bloginfo($show));
echo convert_chars($info); return convert_chars($info);
}
function bloginfo_rss($show = '') {
echo get_bloginfo_rss();
} }
function the_title_rss() { function the_title_rss() {