WordPress.org

Make WordPress Core

Changeset 9148


Ignore:
Timestamp:
10/14/08 01:08:56 (6 years ago)
Author:
matt
Message:

Don't encoded category element contents - fixes #4321 and #7815.

File:
1 edited

Legend:

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

    r8944 r9148  
    338338            $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) ); 
    339339        else 
    340             $the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n"; 
     340            $the_list .= "\n\t\t<category><![CDATA[" . html_entity_decode( $cat_name ) . "]]></category>\n"; 
    341341    } 
    342342 
Note: See TracChangeset for help on using the changeset viewer.