From b122503bbc411073edf0064f5e85349e5e046461 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 14 Mar 2008 19:37:18 +0000 Subject: [PATCH] Enclose more things as CDATA when exporting. Fixes #4242 props nbachiyski. git-svn-id: https://develop.svn.wordpress.org/trunk@7299 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/export.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/export.php b/wp-admin/includes/export.php index a712177f22..96239af921 100644 --- a/wp-admin/includes/export.php +++ b/wp-admin/includes/export.php @@ -195,12 +195,12 @@ echo '\n"; <?php echo apply_filters('the_title_rss', $post->post_title); ?> - + -post_content); ?>]]> +post_content) ); ?> ID; ?> post_date; ?> post_date_gmt; ?> @@ -238,7 +238,7 @@ if ( $comments ) { foreach ( $comments as $c ) { ?> comment_author_IP; ?> comment_date; ?> comment_date_gmt; ?> -comment_content; ?> +comment_content) ?> comment_approved; ?> comment_type; ?> comment_parent; ?>