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

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 29 17:53:30 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       |
----------------------------+------------------------
Changes (by maxcutler):

 * cc: max@… (added)


Comment:

 Replying to [comment:2 nprasath002]:
 > I dont think we need to have blog_id here.
 > Just id of a post is enough to delete even in a multisite.

 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.

 Whitespace issues aside, the new patch looks good.

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


More information about the wp-trac mailing list