[wp-trac] [WordPress Trac] #21626: XML-RPC wp.newPost doesnt use the blog id parameter
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 18 08:16:24 UTC 2012
#21626: XML-RPC wp.newPost doesnt use the blog id parameter
------------------------------+-----------------------------
Reporter: arthurjarmstrong | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version:
Severity: normal | Keywords:
------------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21626>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list