summaryrefslogtreecommitdiffstats
path: root/xmlrpc.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-26 12:57:25 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-26 12:57:25 +0000
commit8a8560c1b75ce5cb9f3b86bf3cba19c6df5000ff (patch)
tree9a697c0c3029c2b7a5223d818398c562346921e3 /xmlrpc.php
parentc794c54fc14d1a4af6101ace58f8e60da2dc7d98 (diff)
downloadwordpress-mu-8a8560c1b75ce5cb9f3b86bf3cba19c6df5000ff.tar.gz
wordpress-mu-8a8560c1b75ce5cb9f3b86bf3cba19c6df5000ff.tar.xz
wordpress-mu-8a8560c1b75ce5cb9f3b86bf3cba19c6df5000ff.zip
WP Merge to rev 4813
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@868 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'xmlrpc.php')
-rw-r--r--xmlrpc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index 4bf92c5..e95af9c 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -203,6 +203,7 @@ class wp_xmlrpc_server extends IXR_Server {
"dateCreated" => new IXR_Date($page_date),
"userid" => $page->post_author,
"page_id" => $page->ID,
+ "page_status" => $page->post_status,
"description" => $full_page["main"],
"title" => $page->post_title,
"link" => $link,
@@ -1442,7 +1443,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;