[wp-trac] [WordPress Trac] #18429: Create custom post types via XMLRPC

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 8 11:21:13 UTC 2012


#18429: Create custom post types via XMLRPC
----------------------------+------------------------
 Reporter:  nprasath002     |       Owner:  westi
     Type:  task (blessed)  |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.4
Component:  XML-RPC         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------

Comment (by westi):

 Replying to [comment:74 maxcutler]:
 > It has already been committed, but can I suggest we remove the 'tags'
 and 'categories' fields from `_prepare_post`? We do not accept these
 fields in `wp_newPost`/`wp_editPost`, and there's no real reason to
 include them for back-compat in a brand-new method. If a client wants
 those old-style values, they can use the old-style methods.

 I agree we should remove this before they become baked into the API.

 wp.getPost() should return what you would be able to send to wp.editPost()
 so you can fetch/update/edit easily from a client APP.

 I'll remove these.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18429#comment:76>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list