WordPress.org

Ready to get started?Download WordPress

Forums

xmlrpc errors not reported correctly in function wpmu_blogger_getUsersBlogs (2 posts)

  1. danieljsinclair
    Member
    Posted 4 years ago #

    function wpmu_blogger_getUsersBlogs
    ...
    $rpc->query('wp.getUsersBlogs', $args[1], $args[2]);
    ...

    the line above should read;

    if ($rpc->query('wp.getUsersBlogs', $args[1], $args[2]) == false)
    return $rpc->error;

    Otherwise, if the local machine fails to make an outbound RPC call (in my case split DNS was preventing it from locating itself) the error is swept under the carpet and not visible. Silent failure is the result. This issue has been copied over from WordPress-MU 2.9.2

Topic Closed

This topic has been closed to new replies.

About this Topic