[wp-xmlrpc] Patch to trim whitespace from description/more
Daniel Jalkut
jalkut at red-sweater.com
Wed Feb 27 08:32:04 GMT 2008
There are a variety of little problems with the way XMLRPC in WP
currently literally interprets the description and mt_text_more
components of a post cargo.
The rest of WP is strongly biased towards trimming these components
such that there is no whitespace between them and the separator "\n<!--
more-->\n".
Because XMLRPC currently crudely combines the two components with the
separator, you can end up with unwanted whitespace in the database,
which further confuses things in the rest of WP.
I propose to trim these components so that submitting a post from a
remote client will result in the same massaging of the content that
entering the post from wp-admin experiences.
http://trac.wordpress.org/ticket/6016
Daniel
More information about the wp-xmlrpc
mailing list