Changeset 11204 for trunk/wp-includes/feed.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r11109 r11204 339 339 $the_list .= "\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n"; 340 340 elseif ( 'atom' == $type ) 341 $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attr( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ),attr( $cat_name ) );341 $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', esc_attr( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), esc_attr( $cat_name ) ); 342 342 else 343 343 $the_list .= "\t\t<category><![CDATA[" . @html_entity_decode( $cat_name, ENT_COMPAT, get_option('blog_charset') ) . "]]></category>\n";
Note: See TracChangeset
for help on using the changeset viewer.