[wp-trac] [WordPress Trac] #21085: Better XML-RPC media handling

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 23 19:27:26 UTC 2012


#21085: Better XML-RPC media handling
--------------------------------+------------------
 Reporter:  markoheijnen        |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  3.5
Component:  XML-RPC             |     Version:  2.3
 Severity:  normal              |  Resolution:
 Keywords:  mobile 2nd-opinion  |
--------------------------------+------------------
Changes (by nacin):

 * keywords:  mobile => mobile 2nd-opinion


Comment:

 The cap check here should be `delete_post, $post_id`. And in that case,
 the cap check should come before the invalid ID check.

 Not sure why wp.deleteMediaItem should be needed — wp.deletePost is
 functionally equivalent. At most wp.deleteMediaItem should be an alias.

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


More information about the wp-trac mailing list