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:
parent
1d916a7f12
commit
f56d8b8f69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue