Opened 22 months ago

Last modified 14 months ago

#18431 closed task (blessed)

Delete custom posts via XMLRPC — at Version 1

Reported by: nprasath002 Owned by: westi
Priority: normal Milestone: 3.4
Component: XML-RPC Version:
Severity: normal Keywords: has-patch
Cc: max@…, jbernal@…

Description (last modified by westi)

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

Change History (3)

  • Description modified (diff)
  • Keywords needs-patch added; has-patch removed
  • Milestone changed from Awaiting Review to 3.4
  • Owner set to westi
  • Status changed from new to reviewing
  • Type changed from feature request to task (blessed)

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.

Note: See TracTickets for help on using tickets.