[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:56:09 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 |
--------------------------+---------------------
Comment (by westi):
Replying to [comment:6 koke]:
> Replying to [comment:5 SergeyBiryukov]:
> > Updated Codex page.
>
> My point was that the codex said it was an int, so many apps out there
would already expect that. Changing it breaks compatibility
I think the codex documentation was incorrect.
I just tested with WordPress 3.3, 3.2, 3.1, 3.0, and 2.9 and we returned a
string for {{{wp_author_id}}} when calling {{{wp.getPage}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18869#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list