Don't add new lines around the <!--more--> tag when posting over xmlrpc. Fixes #6016 props josephscott and redsweater.
git-svn-id: https://develop.svn.wordpress.org/trunk@7599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ae0f2b688f
commit
4415c75743
@ -1296,7 +1296,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
}
|
||||
|
||||
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'];
|
||||
@ -1565,7 +1565,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
}
|
||||
|
||||
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'];
|
||||
|
Loading…
Reference in New Issue
Block a user