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:
parent
038b556b23
commit
0c65134b61
|
@ -439,7 +439,9 @@ class MT_Import {
|
|||
} else {
|
||||
// Processing multi-line field, check context.
|
||||
|
||||
if( !empty($line) )
|
||||
$line .= "\n";
|
||||
|
||||
if ( 'body' == $context ) {
|
||||
$post->post_content .= $line;
|
||||
} else if ( 'extended' == $context ) {
|
||||
|
|
Loading…
Reference in New Issue