Changeset 2118

Show
Ignore:
Timestamp:
01/22/05 03:45:35 (4 years ago)
Author:
saxmatt
Message:

More escaping of description and cleaner default feed URIs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/template-functions-links.php

    r2094 r2118  
    188188            $output = $feed_url .'/wp-commentsrss2.php'; 
    189189            if ($do_perma) { 
    190                 $output = $comment_feed_url . '/rss2/'; 
     190                $output = $comment_feed_url . '/'; 
    191191            } 
    192192            break; 
     
    195195            $output = $feed_url .'/wp-rss2.php'; 
    196196            if ($do_perma) { 
    197                 $output = $feed_url . '/rss2/'; 
     197                $output = $feed_url . '/'; 
    198198            } 
    199199            break; 
  • trunk/wp-rss2.php

    r2070 r2118  
    3636        <guid><?php the_permalink($id); ?></guid> 
    3737<?php if (get_settings('rss_use_excerpt')) : ?> 
    38         <description><?php the_excerpt_rss() ?></description> 
     38        <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 
    3939<?php else : ?> 
    40         <description><?php the_excerpt_rss() ?></description> 
     40        <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 
    4141    <?php if ( strlen( $post->post_content ) > 0 ) : ?> 
    4242        <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>