Sorry - but I don’t know why everybody is ranting about commercial or at least 1.0 software for content publishing - at least those software packages are (in most cases) complete while distributing … not the same with Wordpress MU or at least the XML-RPC part of it. First it misses a core WP method - see the posting by Lichao. Further it does not support the Multi-Site/-User functionality of WPMU … while using a desktop editor like w.bloggar I neither get all my blogs nor can I administrate them separately.
You have to conduct the following changes to the file:
- First - comment the section
if ( $blog->site_id != 1 ) continue;because while using unique URLs for the WPMU blogs, each one has its own $site_id (see this posting!) - Further - while executing WPs core functionality each method needs to be set into the scope/context of the blog the external user has definded. The methods therefore have the $blog_id variable as first argument but none of the methods are taking this into account. Therefore I added the following line after the do_action()-call:
switch_to_blog($blog_id);. But watch out for the two need mw_ methods - here the authors of the xml-rpc-file changed the variable characters from blog_id to blog_ID.
