Don't add new lines around the <!--more--> tag when posting over xmlrpc. Fixes #6016 props josephscott and redsweater.

git-svn-id: http://svn.automattic.com/wordpress/trunk@7599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-04-03 20:56:48 +00:00
parent ca41e227ad
commit fd890d1fb4
1 changed files with 2 additions and 2 deletions

View File

@ -1296,7 +1296,7 @@ class wp_xmlrpc_server extends IXR_Server {
} }
if ($post_more) { if ($post_more) {
$post_content = $post_content . "\n<!--more-->\n" . $post_more; $post_content = $post_content . "<!--more-->" . $post_more;
} }
$to_ping = $content_struct['mt_tb_ping_urls']; $to_ping = $content_struct['mt_tb_ping_urls'];
@ -1565,7 +1565,7 @@ class wp_xmlrpc_server extends IXR_Server {
} }
if ($post_more) { if ($post_more) {
$post_content = $post_content . "\n<!--more-->\n" . $post_more; $post_content = $post_content . "<!--more-->" . $post_more;
} }
$to_ping = $content_struct['mt_tb_ping_urls']; $to_ping = $content_struct['mt_tb_ping_urls'];