Make WordPress Core

Changeset 10430


Ignore:
Timestamp:
01/24/2009 12:24:57 PM (18 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/mt.php

    r9903 r10430  
    439439                        } else {
    440440                                // Processing multi-line field, check context.
    441 
    442                                 $line .= "\n";
     441                               
     442                                if( !empty($line) )
     443                                        $line .= "\n";
     444                                       
    443445                                if ( 'body' == $context ) {
    444446                                        $post->post_content .= $line;
Note: See TracChangeset for help on using the changeset viewer.