[wp-xmlrpc] Handling Custom Post Types in WP 3.0 via XMLRPC
Joseph Scott
joseph at josephscott.org
Thu Jul 8 17:53:31 UTC 2010
There is a bit more involved here. Someone needs to go through and
test custom post type support via the XML-RPC APIs. For the time
being they are hidden from XML-RPC clients, but that's something that
certainly needs to change in the future.
On Wed, Jul 7, 2010 at 10:43 PM, David Weiss <dave at daveweiss.net> wrote:
> It's really just a total hack - I added elseif statements and hard-coded
> post types, assigning them to $post_type.
> I suppose the right thing to do is take the $content_struct['post_type'] and
> test it against registered post types, test for permission, and assign it to
> the $post_type or return the error.
>
> If I get around to doing that some time soon, I'll send it along.
--
Joseph Scott
joseph at josephscott.org
http://josephscott.org/
More information about the wp-xmlrpc
mailing list