before reporting this as a bug I want to make sure it actually is one.
When uploading a post via XML-RPC I have to upload the images first. I do so via
Later I update the actual blogpost via
WordPress is smart enough to look through all images in the markup and sets the correct
post_parentin the database. But it forgets to make the
Getting more concrete, look in the file wp-includes/class-wp-xmlrpc-server.php and find the function
attach_uploads. It sets the
post_parentbut doesn’t update the
Because WordPress forgets about this you won’t be able to find the uploaded images in your media library. The images do count in the image count shown at the top, but you won’t get to see them in the actual file list.
In my opinion this is a bug that can be easily fixed.
What do you think?
- The topic ‘Bug in XML-RPC interface?’ is closed to new replies.