[wp-trac] [WordPress Trac] #18431: Delete custom posts via XMLRPC

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 24 10:52:18 UTC 2012


#18431: Delete custom posts via XMLRPC
----------------------------+------------------------
 Reporter:  nprasath002     |       Owner:  westi
     Type:  task (blessed)  |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.4
Component:  XML-RPC         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------------
Changes (by westi):

 * status:  new => reviewing
 * owner:   => westi
 * milestone:  Awaiting Review => 3.4
 * keywords:  has-patch => needs-patch
 * type:  feature request => task (blessed)


Old description:



New description:

 Simple API to support deletion of a single post of any CPT over xmlrpc.

--

Comment:

 Marking this as a Blessed Task for 3.4 - This is part of the first
 iteration of XML-RPC new features we will be working on.

 There are a number of issues with this current patch:
  * Doesn't follow the argument convention of other functions
  * Support for multiple deletion is not needed
  * You can't tell what did/didn't succeed when an error is returned.

 We should have a simple wp.deletePost which mimics wp.deletePage but
 supports all CPTs (and then we can probably re-work wp.deletePage to call
 it.

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


More information about the wp-trac mailing list