Ticket #3721: xmlrpc.diff

File xmlrpc.diff, 0.9 kB (added by bafonso, 2 years ago)

xmlrpc diff

  • xmlrpc.php

    old new  
    989989            $post_content = $post_content . "\n<!--more-->\n" . $post_more; 
    990990          } 
    991991 
    992                 $to_ping = $content_struct['mt_tb_ping_urls']; 
     992          $to_ping = $content_struct['mt_tb_ping_urls']; 
     993          if ( is_array($to_ping) ) 
     994                $to_ping = implode(' ', $to_ping); 
    993995 
    994996          // Do some timestamp voodoo 
    995997          $dateCreatedd = $content_struct['dateCreated']; 
     
    11511153            $post_content = $post_content . "\n<!--more-->\n" . $post_more; 
    11521154          } 
    11531155 
    1154                 $to_ping = $content_struct['mt_tb_ping_urls']; 
    1155  
     1156          $to_ping = $content_struct['mt_tb_ping_urls']; 
     1157          if ( is_array($to_ping) ) 
     1158                $to_ping = implode(' ', $to_ping); 
     1159           
    11561160          $comment_status = (empty($content_struct['mt_allow_comments'])) ? 
    11571161            get_option('default_comment_status') 
    11581162            : $content_struct['mt_allow_comments'];