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
This commit is contained in:
ryan 2009-04-06 18:33:50 +00:00
parent 5535abbd22
commit acfc07e738

View File

@ -361,7 +361,7 @@ class LJ_API_Import {
$post_content = substr( $post_content, 0, $first + 1 ) . preg_replace( '|<!--more(.*)?-->|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