WordPress.org

Make WordPress Core

Changeset 5134


Ignore:
Timestamp:
03/29/2007 01:35:50 AM (11 years ago)
Author:
rob1n
Message:

Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014

File:
1 edited

Legend:

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

    r5132 r5134  
    33function get_bloginfo_rss($show = '') {
    44    $info = strip_tags(get_bloginfo($show));
    5     return apply_filters('bloginfo_rss', convert_chars($info));
     5    return apply_filters('get_bloginfo_rss', convert_chars($info));
    66}
    77
    88
    99function bloginfo_rss($show = '') {
    10     echo get_bloginfo_rss($show);
     10    echo apply_filters('bloginfo_rss', get_bloginfo_rss($show));
    1111}
    1212
Note: See TracChangeset for help on using the changeset viewer.