From ddd9ef521678fe8be14dd8d2d1b856ef5d5415d1 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 25 Jan 2007 18:27:47 +0000 Subject: [PATCH] Cast categoryId to string to be compliant. fixes #3662 git-svn-id: https://develop.svn.wordpress.org/trunk@4807 602fd350-edb4-49c9-b593-d223f7449a82 --- xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index 74ddc7b101..b2c18deadf 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -1433,7 +1433,7 @@ class wp_xmlrpc_server extends IXR_Server { foreach($catids as $catid) { $categories[] = array( 'categoryName' => get_cat_name($catid), - 'categoryId' => $catid, + 'categoryId' => (string) $catid, 'isPrimary' => $isPrimary ); $isPrimary = false;