[wp-trac] [WordPress Trac] #18683: XMLRPC wp.getMediaLibrary doesn't return attachment ids

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 7 15:02:10 UTC 2012


#18683: XMLRPC wp.getMediaLibrary doesn't return attachment ids
-------------------------------------------+--------------------------
 Reporter:  skithund                       |       Owner:  josephscott
     Type:  task (blessed)                 |      Status:  assigned
 Priority:  normal                         |   Milestone:  3.4
Component:  XML-RPC                        |     Version:  3.2.1
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch commit dev-reviewed  |
-------------------------------------------+--------------------------
Changes (by westi):

 * keywords:  has-patch commit => has-patch commit dev-reviewed
 * owner:   => josephscott
 * status:  new => assigned


Comment:

 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.

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


More information about the wp-trac mailing list