Ticket #20888: feed-rdf.php.patch
File feed-rdf.php.patch, 1.3 KB (added by , 12 years ago) |
---|
-
wordpress/wp-includes/feed-rdf.php
old new 21 21 <channel rdf:about="<?php bloginfo_rss("url") ?>"> 22 22 <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title> 23 23 <link><?php bloginfo_rss('url') ?></link> 24 <description>< ?php bloginfo_rss('description') ?></description>24 <description><![CDATA[<?php bloginfo_rss('description') ?>]]></description> 25 25 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> 26 26 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 27 27 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> … … 43 43 <dc:creator><?php the_author() ?></dc:creator> 44 44 <?php the_category_rss('rdf') ?> 45 45 <?php if (get_option('rss_use_excerpt')) : ?> 46 <description>< ?php the_excerpt_rss() ?></description>46 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 47 47 <?php else : ?> 48 <description>< ?php the_excerpt_rss() ?></description>48 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 49 49 <content:encoded><![CDATA[<?php the_content_feed('rdf') ?>]]></content:encoded> 50 50 <?php endif; ?> 51 51 <?php do_action('rdf_item'); ?>