WordPress.org

Make WordPress Core

Changeset 10429


Ignore:
Timestamp:
01/24/09 12:24:16 (7 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

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

    r9903 r10429  
    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.