[wp-trac] [WordPress Trac] #18431: Delete custom posts via XMLRPC
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 7 13:06:07 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: has-patch |
----------------------------+------------------------
Comment (by koke):
Replying to [comment:4 maxcutler]:
> While technically true, it should still follow the convention that other
methods use. In fact, none of the methods actually ''use'' the `blog_id`
parameter, but to remove it on some methods and not others is probably not
a good idea.
Yes, please stick to (blog_id, username, password) as first parameters as
much as possible. It's already enough of a mess.
Example:
* wp.newPage (username,password,...)
* wp.deletePage (blog_id,username,password,page_id)
* wp.editPage (blog_id,page_id,username,password,...)
* wp.getPage (blog_id,page_id,username,password)
That means instead of clients reusing code to build a common set of
parameters, you have to take it case by case.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18431#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list