[wp-trac] [WordPress Trac] #5310: XMLRPC interface should expose mechanism for listing and deleting media resources

WordPress Trac noreply at wordpress.org
Thu Jan 30 06:35:33 UTC 2014


#5310: XMLRPC interface should expose mechanism for listing and deleting media
resources
----------------------------------------+-----------------------------
 Reporter:  redsweater                  |       Owner:  josephscott
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  XML-RPC                     |     Version:  2.3.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------

Comment (by maxcutler):

 Replying to [comment:4 johnbillion]:
 > ... but still none for deleting media items.

 Actually, since media items are really just a post type, you can use
 `wp.deletePost` method to delete them. Likewise, you can use `wp.editPost`
 to modify most of the media item fields (except image and alt-text, the
 latter of which is a protected meta).

 It might be nice to have a simple wrapper to make this more obvious to new
 users, or else add some documentation to the Codex.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/5310#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list