[wp-xmlrpc] Expose draft status of posts...

Daniel Jalkut jalkut at red-sweater.com
Sat Sep 15 20:05:23 GMT 2007


I know this is going to come "for free" with Atom support, but in the  
mean time it would be great to finally have the draft/published status  
of posts definitively described in the post attributes.

http://trac.wordpress.org/ticket/4982

Does anybody have a problem with just adding a "wp_draft" boolean  
attribute to the posts returned by getRecentPosts?

I guess one gotcha is that to be consistent it would then have to also  
check for that attribute on posts, and interpret it the same way it  
currently interprets the "publish" argument to newPost.

Daniel


More information about the wp-xmlrpc mailing list