[wp-xmlrpc] An Error in Custom Fields Processing?

David Weiss dave at daveweiss.net
Fri Apr 17 15:54:09 GMT 2009


Thanks to everyone's help here, I am "THIS" close (holding my index finger
and thumb a 1/4 inch apart) to having a really slick solution for getting my
project working.

One more problem.

Let's say I have a URL I'm sticking into a custom field and using getPost or
editPost to create/update that custom field.

The XML that gets passed looks just fine:

<value><struct>
<member><name>id</name><value><string>3038</string></value></member>
<member><name>key</name><value><string>_photo_1_large</string></value></member><member><name>value</name><value><string>/wordpress/images/image.php/07160864_1.jpg?width=600&amp;height=400&amp;image=/wordpress/images/07160864_1.jpg</string></value></member>
</struct></value>

But once it's inside of WP, the "&" gets stripped off the "&amp;".

How do I fix this?  I've tried adding an extra "&" and all sorts of other
permutations of possibilities.

Thanks for your help again.



Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-xmlrpc/attachments/20090417/0c2c1bb5/attachment.htm


More information about the wp-xmlrpc mailing list