[wp-xmlrpc] post_status
Joseph Scott
joseph at randomnetworks.com
Mon Dec 17 22:39:39 GMT 2007
On Dec 17, 2007, at 1:24 PM, Daniel Jalkut wrote:
> I'm glad that things are getting hashed out. While you're thinking
> about adding an ability to specify post_status, can I also suggest
> that there should be some mechanism for a client to ask for the
> list of possible statuses? I see something akin to
> "supportedTextFilters" ... since the client can't reasonably
> display the list of statuses without explicitly knowing based on
> the version of WP, or by asking via protocol.
>
> It seems sensible to establish a precedent of requesting a list of
> possible post statuses, and allowing the user to choose from among
> those for any post. The guarantee would then be that any post from
> WP should have a post-status that is from among that list.
I like that idea. Need a good method name. wp.getPostStatuses ?
wp.getPossiblePostStatuses ? wp.getPostStatusList ?
I'll hunt around and see where WordPress is keeping the list of valid
values for the post_status field.
--
Joseph Scott
http://joseph.randomnetworks.com/
More information about the wp-xmlrpc
mailing list