Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#21830 closed enhancement (wontfix)

MetaWeblog XML-RPC support for Custom Post Types

Reported by: yousefed's profile YousefED Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

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)

#1 @markoheijnen
12 years 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 12 years ago by markoheijnen (previous) (diff)

#2 @YousefED
12 years 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.

#3 @markoheijnen
12 years 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.