Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#21830 closed enhancement (wontfix)

MetaWeblog XML-RPC support for Custom Post Types

Reported by: YousefED Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


In Wordpress 3.4, Custom Post Type support has been added to XML-RPC. However, the MetaWeblog functions do not support this.

  • mw_newPost only allows 'post' or 'page'
  • mw_getPost doesn't return 'post_type'

Change History (3)

comment:1 markoheijnen20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

MetaWeblog API will only be used for post/page. You can only get custom post type support by using the wp.* methods

Last edited 20 months ago by markoheijnen (previous) (diff)

comment:2 YousefED20 months ago

Why wontfix?

When consuming the Wordpress APIs, it's often easier to use the MetaWeblog functions for retrieving / editing posts, because the "Post" objects in these functions are almost the same (regardless of read / write). For the regular API fields such as 'terms' differ between read and write.

It would also improve consistency of the XML-RPC API overall.

comment:3 markoheijnen20 months ago

It's won't fix since we only concentrate on the WordPress methods. So most of the times we only do bug fixing for Blogger API, metaWeblog API, Movable Type API. In some rare cases we do add functionality.

I don't see why MetaWeblog is easier to use but that can be me that is used to the WP methods.

Note: See TracTickets for help on using tickets.