Make WordPress Core

Ticket #11422: mt.php.patch

File mt.php.patch, 485 bytes (added by Akinori MUSHA, 15 years ago)

the patch

  • mt.php

    old new  
    436436                        } else if ( 0 === strpos($line, "BLOG NAME:") ) {
    437437                                $blog = trim( substr($line, strlen("BLOG NAME:")) );
    438438                                $ping->comment_author = $blog;
     439                        } else if ( 0 === strpos($line, "BASENAME:") ) {
     440                                $post_name = trim( substr($line, strlen("BASENAME:")) );
     441                                $post->post_name = $post_name;
    439442                        } else {
    440443                                // Processing multi-line field, check context.
    441444