Expose page_status in XML-RPC API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a53887fc7f
commit
54cfb25317
|
@ -203,6 +203,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
"dateCreated" => new IXR_Date($page_date),
|
"dateCreated" => new IXR_Date($page_date),
|
||||||
"userid" => $page->post_author,
|
"userid" => $page->post_author,
|
||||||
"page_id" => $page->ID,
|
"page_id" => $page->ID,
|
||||||
|
"page_status" => $page->post_status,
|
||||||
"description" => $full_page["main"],
|
"description" => $full_page["main"],
|
||||||
"title" => $page->post_title,
|
"title" => $page->post_title,
|
||||||
"link" => $link,
|
"link" => $link,
|
||||||
|
|
Loading…
Reference in New Issue