xmlrpc mw_newMediaObject ignores blog_id
-
Hi there
I am running a subdirectory enable WP.
Using an XMLRPC call to mw_newMediaObject, I can not get uploaded files to land in the media library of the target blog, blog_id 2. The uploaded files always land in the uploads/yyyy/mm folder. And in the media library for that blog too.
I trace the blog_ID to class-wp-xmlrpc-server.php and it’s definitely receiving the correct value (2) at that point. So, if anybody knows why the uploads are mis-directed from there I’d appreciate your advice.
Sanity check: the xmlrpc returns a packet containing this data:
array ( 'id' => '30', 'file' => 'test2_889047515_2.png', 'url' => 'http://bidwp/wp-content/uploads/2013/11/test2_889047515_2.png', 'type' => 'image/png', )
and the htaccess is standard from the WP codex.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘xmlrpc mw_newMediaObject ignores blog_id’ is closed to new replies.