XML-RPC wp.newPost doesnt use the blog id parameter
|Reported by:||arthurjarmstrong||Owned by:||arthurjarmstrong|
When calling a new query with the wp.newPost via the XML-RPC and passing a blog ID parameter it will insert the post but on the main site, not on the blog in which the blog ID was passed. After looking at the code in the "wp-includes>class-wp-xmlrpc-server.php" under the function wp_newPost( $args ) it calls the _insert_post( $user, $content_struct ) function which does not take in the blog ID or switch the blog to the one that is passed.
Change History (5)
- Owner set to arthurjarmstrong
- Status changed from new to reviewing