WordPress.org

Support

Support » Alpha/Beta » [Resolved] post_author field on wp.newPost call in XMLRPC API not working as expected

[Resolved] post_author field on wp.newPost call in XMLRPC API not working as expected

  • pzimbelman
    Member

    @pzimbelman

    I’ve tried making calls to the wp.newPost API method with credentials for one user while trying to supply a post_author field for another user_id (from a wp.getAuthors call).

    I would expect the post_author field to take precedence over the logged in user credentials but the new posts continue to be associated with the user account from the login credentials. Is this a bug? Or is there something else that I am missing? If this is the expected behavior, how do I make use of the post_author field to get the post to show up with the author I am trying to specify?

    Using the API from here http://codex.wordpress.org/XML-RPC_WordPress_API/Posts

  • The topic ‘[Resolved] post_author field on wp.newPost call in XMLRPC API not working as expected’ is closed to new replies.