Ticket #769: getonly-version-of-bloginfo_rss-func.diff
| File getonly-version-of-bloginfo_rss-func.diff, 601 bytes (added by , 21 years ago) |
|---|
-
wp-includes/feed-functions.php
old new 1 1 <?php 2 2 3 function get_bloginfo_rss($show = '') { 4 $info = strip_tags(get_bloginfo($show)); 5 return convert_chars($info); 6 } 7 3 8 function bloginfo_rss($show='') { 4 $info = strip_tags(get_bloginfo($show)); 5 echo convert_chars($info); 9 if ('' == $show) 10 echo get_bloginfo_rss(); 11 else 12 echo get_bloginfo_rss($show); 6 13 } 7 14 8 15 function the_title_rss() { … … 151 158 } 152 159 } 153 160 154 ?> 155 No newline at end of file 161 ?>