| 1 | --- ijwp/wp-admin/import/mt.php 2009-01-24 12:24:16.000000000 +0000 |
|---|
| 2 | +++ mt.php 2009-05-14 11:51:08.000000000 +0100 |
|---|
| 3 | @@ -442,6 +442,17 @@ |
|---|
| 4 | if( !empty($line) ) |
|---|
| 5 | $line .= "\n"; |
|---|
| 6 | |
|---|
| 7 | + if( empty($line) ) { |
|---|
| 8 | + if ( 'body' == $context ) |
|---|
| 9 | + $line .= "\n"; |
|---|
| 10 | + if ( 'extended' == $context ) |
|---|
| 11 | + $line .= "\n"; |
|---|
| 12 | + if ( 'comment' == $context ) |
|---|
| 13 | + $line .= "\n"; |
|---|
| 14 | + if ( 'excerpt' == $context ) |
|---|
| 15 | + $line .= "\n"; |
|---|
| 16 | + } |
|---|
| 17 | + |
|---|
| 18 | if ( 'body' == $context ) { |
|---|
| 19 | $post->post_content .= $line; |
|---|
| 20 | } else if ( 'extended' == $context ) { |
|---|