Ticket #6656: patch.diff

File patch.diff, 488 bytes (added by jgbishop, 5 months ago)
  • mt.php

    old new  
    335335                                else if ( 'ping' == $context ) 
    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'; 
    341341                                $post->post_status = $status;