[wp-xmlrpc] Expose draft status of posts...
Joe.Cheng at microsoft.com
Mon Sep 17 18:16:23 GMT 2007
We'd need to be careful to document the behavior if the different but related states disagree. (For example, publish=1 but wp_draft=true and wp_publishState=pending?) Or at the very least, list the valid combinations of states.
From: wp-xmlrpc-bounces at lists.automattic.com [mailto:wp-xmlrpc-bounces at lists.automattic.com] On Behalf Of Daniel Jalkut
Sent: Monday, September 17, 2007 9:22 AM
To: wp-xmlrpc at lists.automattic.com
Subject: Re: [wp-xmlrpc] Expose draft status of posts...
Oh yes - very good point. I was looking at the issue pretty myopically. We definitely should expose all the possible states, and as appropriate also allow those states to be changed via the API, too.
So maybe some kind of "wp_publishState" ? That contains a text value corresponding to one of those?
On Sep 17, 2007, at 12:11 PM, Joseph Scott wrote:
Would it be helpful to know the other possible states? Ryan mentioned 5: http://boren.nu/archives/2007/09/05/post-status-transitions/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wp-xmlrpc