[wp-trac] [WordPress Trac] #18869: XML-RPC returns wp_author_id as int instead of string

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 9 12:49:05 UTC 2012


#18869: XML-RPC returns wp_author_id as int instead of string
--------------------------+---------------------
 Reporter:  yoavf         |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.3
Component:  XML-RPC       |     Version:  3.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by daniloercoli):

 * cc: ercoli@… (added)


Comment:

 Replying to [comment:6 koke]:
 > My point was that the codex said it was an int, so many apps out there
 would already expect that. Changing it breaks compatibility

 You're right, but we need to return wp_author_id as a string, since WP
 breaks the XML-RPC spec for large user ids.

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


More information about the wp-trac mailing list