mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 14:45:45 +01:00
Cast categoryId to string to be compliant. fixes #3662
git-svn-id: http://svn.automattic.com/wordpress/branches/2.1@4807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8789eb2c7f
commit
78ca745e30
@ -977,7 +977,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;
|
||||
|
Loading…
Reference in New Issue
Block a user