WordPress.org

Make WordPress Core

Changeset 7599


Ignore:
Timestamp:
04/03/08 20:56:48 (6 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r7296 r7599  
    12971297 
    12981298        if ($post_more) { 
    1299             $post_content = $post_content . "\n<!--more-->\n" . $post_more; 
     1299            $post_content = $post_content . "<!--more-->" . $post_more; 
    13001300        } 
    13011301 
     
    15661566 
    15671567        if ($post_more) { 
    1568             $post_content = $post_content . "\n<!--more-->\n" . $post_more; 
     1568            $post_content = $post_content . "<!--more-->" . $post_more; 
    15691569        } 
    15701570 
Note: See TracChangeset for help on using the changeset viewer.