WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#18431 closed task (blessed)

Delete custom posts via XMLRPC — at Version 1

Reported by: nprasath002 Owned by: westi
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords: has-patch
Focuses: Cc:

Description (last modified by westi)

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

Change History (3)

nprasath0023 years ago

comment:1 westi2 years ago

  • 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.