From 720df5dcf967231d03d1c403549792c7ff79f93f Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 25 Jan 2007 18:27:47 +0000 Subject: [PATCH] Cast categoryId to string to be compliant. fixes #3662 git-svn-id: http://svn.automattic.com/wordpress/trunk@4807 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index 74ddc7b10..b2c18dead 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;