Opened 13 years ago
Closed 13 years ago
#18683 closed task (blessed) (fixed)
XMLRPC wp.getMediaLibrary doesn't return attachment ids
Reported by: | skithund | Owned by: | josephscott |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | 3.2.1 |
Component: | XML-RPC | Keywords: | has-patch commit dev-reviewed |
Focuses: | Cc: |
Description
XMLRPC wp.getMediaLibrary method loops attachments through wp_getMediaItem function, which doesn't return attachment ids.
Attachments (1)
Change History (9)
#4
@
13 years ago
+1 On returning IDs. I know of at least 2 XMLRPC clients that would benefit from this addition.
#7
@
13 years ago
- Keywords dev-reviewed added
- Owner set to josephscott
- Status changed from new to assigned
Can we make this patch ensure that the IDs are returned as strings not ints so that we have no chance of returning invalid data in an XML-RPC response - our IDs go to values bigger than the spec for integers in xml-rpc.
With that change this should be fine to commit.
Note: See
TracTickets for help on using
tickets.
Return attachment_id in wp_getMediaItem