WordPress.org

Make WordPress Core

Changeset 5948


Ignore:
Timestamp:
08/27/2007 03:17:00 PM (13 years ago)
Author:
ryan
Message:

Trim before comparison. Props foolswisdom and Nazgul. fixes #4815

File:
1 edited

Legend:

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

    r5870 r5948  
    211211            printf(__('Importing post <i>%s</i>...'), stripslashes($post->post_title));
    212212
    213             if ( '' != $post->extended )
     213            if ( '' != trim( $post->extended ) )
    214214                    $post->post_content .= "\n<!--more-->\n$post->extended";
    215215
Note: See TracChangeset for help on using the changeset viewer.