Ticket #3721: xmlrpc.diff
| File xmlrpc.diff, 0.9 kB (added by bafonso, 2 years ago) |
|---|
-
xmlrpc.php
old new 989 989 $post_content = $post_content . "\n<!--more-->\n" . $post_more; 990 990 } 991 991 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); 993 995 994 996 // Do some timestamp voodoo 995 997 $dateCreatedd = $content_struct['dateCreated']; … … 1151 1153 $post_content = $post_content . "\n<!--more-->\n" . $post_more; 1152 1154 } 1153 1155 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 1156 1160 $comment_status = (empty($content_struct['mt_allow_comments'])) ? 1157 1161 get_option('default_comment_status') 1158 1162 : $content_struct['mt_allow_comments'];
