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
This commit is contained in:
Ryan Boren 2009-04-06 18:33:50 +00:00
parent 1d916a7f12
commit f56d8b8f69
1 changed files with 1 additions and 1 deletions

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