WordPress.org

Make WordPress Core

Changeset 6750


Ignore:
Timestamp:
02/07/2008 06:01:33 PM (10 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r6742 r6750  
    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
    88function bloginfo_rss($show = '') {
    9     echo apply_filters('bloginfo_rss', get_bloginfo_rss($show));
     9    echo apply_filters('bloginfo_rss', get_bloginfo_rss($show), $show);
    1010}
    1111
Note: See TracChangeset for help on using the changeset viewer.