[wp-xmlrpc] get valid post/page status values and set them

Joseph Scott joseph at randomnetworks.com
Thu Jan 10 23:21:29 GMT 2008



Following up on the discussion about post/page status (see ticket  
http://trac.wordpress.org/ticket/5569) we've got two new methods:  
wp.getPostStatusList and wp.getPageStatusList.  Both return a struct  
with the valid post/page status values and descriptions.  In addition  
you can now explicitly set the those values (metaWeblog.new/editPost  
for posts and wp.new/editPage for pages) via the post_status and  
page_status fields.

This was just committed to -trunk.

--
Joseph Scott
http://joseph.randomnetworks.com/




More information about the wp-xmlrpc mailing list