WordPress.org

Make WordPress Core

Changeset 7648


Ignore:
Timestamp:
04/14/2008 04:26:07 PM (10 years ago)
Author:
ryan
Message:

Make MT post status lower case when importing. Props jgbishop. fixes #6656 for 2.5

File:
1 edited

Legend:

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

    r7326 r7648  
    336336                    $ping->title = $title;
    337337            } else if ( 0 === strpos($line, "STATUS:") ) {
    338                 $status = trim( substr($line, strlen("STATUS:")) );
     338                $status = trim( strtolower( substr($line, strlen("STATUS:")) ) );
    339339                if ( empty($status) )
    340340                    $status = 'publish';
Note: See TracChangeset for help on using the changeset viewer.