Ticket #6656: patch.diff
File patch.diff, 488 bytes (added by , 17 years ago) |
---|
-
mt.php
335 335 else if ( 'ping' == $context ) 336 336 $ping->title = $title; 337 337 } else if ( 0 === strpos($line, "STATUS:") ) { 338 $status = trim( s ubstr($line, strlen("STATUS:")) );338 $status = trim( strtolower( substr($line, strlen("STATUS:")) ) ); 339 339 if ( empty($status) ) 340 340 $status = 'publish'; 341 341 $post->post_status = $status;