[wp-trac] [WordPress Trac] #15072: blogger.getRecentPosts drops backslashes
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 13 04:48:21 UTC 2011
#15072: blogger.getRecentPosts drops backslashes
--------------------------+-----------------------------
Reporter: daveabrahams | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: XML-RPC | Version: 3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------------
Changes (by mdawaffe):
* milestone: Awaiting Review => Future Release
Comment:
Attached removes some useless stripslashes() calls in blogger.getPost and
blogger.getRecentPosts.
That said, the 'spec' for those two methods is terrible. Title and
categories have to be included in the struct's content parameter, each
enclosed in an encoded XML tag. So the title and categories technically
should be doubly encoded, but WP doesn't do that, and doing so would
probably break any clients that use these methods.
Encourage your client's author to switch to metaWeblog.*
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15072#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list