[wp-trac] Re: [WordPress Trac] #7686: WordPress Sandwiches MORE tag Improperly when Submitting via XML-RPC cCLient

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 8 03:17:22 GMT 2008


#7686: WordPress Sandwiches MORE tag Improperly when Submitting via XML-RPC
cCLient
----------------------------------------+-----------------------------------
 Reporter:  iacas                       |        Owner:  anonymous
     Type:  defect                      |       Status:  new      
 Priority:  high                        |    Milestone:  2.6.2    
Component:  XML-RPC                     |      Version:  2.6.1    
 Severity:  normal                      |   Resolution:           
 Keywords:  more tag, xml-rpc, newline  |  
----------------------------------------+-----------------------------------
Comment (by ecto):

 Well, I guess it has to be done smarter then. You need code that verifies
 whether $post_content ends in a linebreak or an HTML linebreak (closing p,
 div, pre, blockquote, ul or a br tag) and if not, appends a linebreak,
 then slaps on the more tag. Then verify the same for post_more but at
 start of it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7686#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list