WordPress.org

Make WordPress Core

Ticket #20058: class-wp-xmlrpc-server.php.diff

File class-wp-xmlrpc-server.php.diff, 621 bytes (added by mrroundhill, 4 years ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    32933293                        } 
    32943294                } 
    32953295 
    3296                 $post_excerpt = isset( $content_struct['mt_excerpt'] ) ? $content_struct['mt_excerpt'] : null; 
     3296                if ( isset( $content_struct['mt_excerpt'] ) ) 
     3297                        $post_excerpt = $content_struct['mt_excerpt']; 
     3298                         
    32973299                $post_more = isset( $content_struct['mt_text_more'] ) ? $content_struct['mt_text_more'] : null; 
    32983300 
    32993301                $post_status = $publish ? 'publish' : 'draft';