From 7741d8ea539f95dc0ae5a387bc56541a0632ca33 Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@7299 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 a712177f2..96239af92 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; ?>