WordPress.org

Make WordPress Core

Ticket #5267: 5267.patch

File 5267.patch, 653 bytes (added by Viper007Bond, 8 years ago)

Props tzafrir

  • wp-includes/feed.php

     
    22 
    33function get_bloginfo_rss($show = '') { 
    44        $info = strip_tags(get_bloginfo($show)); 
    5         return apply_filters('get_bloginfo_rss', convert_chars($info)); 
     5        return apply_filters('get_bloginfo_rss', convert_chars($info), $show); 
    66} 
    77 
    88 
    99function bloginfo_rss($show = '') { 
    10         echo apply_filters('bloginfo_rss', get_bloginfo_rss($show)); 
     10        echo apply_filters('bloginfo_rss', get_bloginfo_rss($show), $show); 
    1111} 
    1212 
    1313function get_wp_title_rss($sep = '»') {