From d39c01d30e8df628db1ea5d4b3fcf3d887bbab89 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 10 Sep 2013 16:55:09 +0000 Subject: [PATCH] Consistently wrap `author` and `excerpt` nodes with `CDATA` in feeds. Fixes #18056. Built from https://develop.svn.wordpress.org/trunk@25315 git-svn-id: http://core.svn.wordpress.org/trunk@25277 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/export.php | 2 +- wp-includes/feed-rdf.php | 8 ++++---- wp-includes/feed-rss2.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/export.php b/wp-admin/includes/export.php index ae08c3c17d..3b26b7162d 100644 --- a/wp-admin/includes/export.php +++ b/wp-admin/includes/export.php @@ -370,7 +370,7 @@ function export_wp( $args = array() ) { <?php echo apply_filters( 'the_title_rss', $post->post_title ); ?> - + post_content ) ); ?> diff --git a/wp-includes/feed-rdf.php b/wp-includes/feed-rdf.php index 3a0daf1fd6..5fce27438a 100644 --- a/wp-includes/feed-rdf.php +++ b/wp-includes/feed-rdf.php @@ -39,13 +39,13 @@ echo ''; ?> <?php the_title_rss() ?> - post_date_gmt, false); ?> - + post_date_gmt, false); ?> + ]]> - + ]]> - + ]]> ]]> diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php index a20aa1ea34..5e5e3287f4 100644 --- a/wp-includes/feed-rss2.php +++ b/wp-includes/feed-rss2.php @@ -36,7 +36,7 @@ echo ''; ?> - + ]]>