From acfc07e73822a0cb08161e2618be90085a9321e7 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 6 Apr 2009 18:33:50 +0000 Subject: [PATCH] Don't force balance tags to avoid image stripping. Props beaulebens. fixes #9468 git-svn-id: http://svn.automattic.com/wordpress/trunk@10880 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/import/livejournal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index 15f1a60708..83602255df 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -361,7 +361,7 @@ class LJ_API_Import { $post_content = substr( $post_content, 0, $first + 1 ) . preg_replace( '||sUi', '', substr( $post_content, $first + 1 ) ); // lj-user ==> a href $post_content = $this->translate_lj_user( $post_content ); - $post_content = force_balance_tags( $post_content ); + //$post_content = force_balance_tags( $post_content ); $post_content = $wpdb->escape( $post_content ); // Handle any tags associated with the post