From f56d8b8f69ea1dc7627a1be028045f2f593c3e4f Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@10880 602fd350-edb4-49c9-b593-d223f7449a82 --- 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