Fix empty feed after MT import, props hailin, fixes #8944 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@10430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-01-24 12:24:57 +00:00
parent 038b556b23
commit 0c65134b61
1 changed files with 4 additions and 2 deletions

View File

@ -438,8 +438,10 @@ class MT_Import {
$ping->comment_author = $blog;
} else {
// Processing multi-line field, check context.
$line .= "\n";
if( !empty($line) )
$line .= "\n";
if ( 'body' == $context ) {
$post->post_content .= $line;
} else if ( 'extended' == $context ) {