diff --git wp-admin/includes/export.php wp-admin/includes/export.php
index ae08c3c..2835a64 100644
|
|
function export_wp( $args = array() ) { |
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 htmlspecialchars(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> |
diff --git wp-includes/feed-rdf.php wp-includes/feed-rdf.php
index 3a0daf1..4e5c526 100644
|
|
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> |
40 | 40 | <title><?php the_title_rss() ?></title> |
41 | 41 | <link><?php the_permalink_rss() ?></link> |
42 | 42 | <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt, false); ?></dc:date> |
43 | | <dc:creator><?php the_author() ?></dc:creator> |
| 43 | <dc:creator><?php echo htmlspecialchars(get_the_author()); ?></dc:creator> |
44 | 44 | <?php the_category_rss('rdf') ?> |
45 | 45 | <?php if (get_option('rss_use_excerpt')) : ?> |
46 | 46 | <description><?php the_excerpt_rss() ?></description> |
diff --git wp-includes/feed-rss2.php wp-includes/feed-rss2.php
index a20aa1e..98690b5 100644
|
|
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> |
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><?php echo htmlspecialchars(get_the_author()); ?></dc:creator> |
40 | 40 | <?php the_category_rss('rss2') ?> |
41 | 41 | |
42 | 42 | <guid isPermaLink="false"><?php the_guid(); ?></guid> |