Ticket #18056: 18056.2.diff
File 18056.2.diff, 2.6 KB (added by , 11 years ago) |
---|
-
src/wp-includes/feed-rss2.php
36 36 <link><?php the_permalink_rss() ?></link> 37 37 <comments><?php comments_link_feed(); ?></comments> 38 38 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> 39 <dc:creator>< ?php the_author() ?></dc:creator>39 <dc:creator><![CDATA[<?php the_author() ?>]]></dc:creator> 40 40 <?php the_category_rss('rss2') ?> 41 41 42 42 <guid isPermaLink="false"><?php the_guid(); ?></guid> -
src/wp-includes/feed-rdf.php
39 39 <item rdf:about="<?php the_permalink_rss() ?>"> 40 40 <title><?php the_title_rss() ?></title> 41 41 <link><?php the_permalink_rss() ?></link> 42 43 <dc:creator>< ?php the_author() ?></dc:creator>42 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt, false); ?></dc:date> 43 <dc:creator><![CDATA[<?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'); ?> -
src/wp-admin/includes/export.php
370 370 <title><?php echo apply_filters( 'the_title_rss', $post->post_title ); ?></title> 371 371 <link><?php the_permalink_rss() ?></link> 372 372 <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate> 373 <dc:creator><?php echo get_the_author_meta( 'login'); ?></dc:creator>373 <dc:creator><?php echo wxr_cdata( get_the_author_meta( 'login' ) ); ?></dc:creator> 374 374 <guid isPermaLink="false"><?php the_guid(); ?></guid> 375 375 <description></description> 376 376 <content:encoded><?php echo wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) ); ?></content:encoded>