[wp-trac] [WordPress Trac] #10764: XML- RPC, blogger_editPost, Publish Status not working
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 10 00:58:10 UTC 2009
#10764: XML- RPC, blogger_editPost, Publish Status not working
--------------------------+-------------------------------------------------
Reporter: bobby_drk | Owner: josephscott
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: XML-RPC | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
In the blogger_editPost function in xmlrpc.php is not working properly.
Currently you cannot change publish status. It looks like we are missing
a line of code.
{{{
$post_status = ($publish) ? 'publish' : 'draft';
}}}
When I inserted this line into the function before the
{{{
$postdata = compact('ID', 'post_content', 'post_title', 'post_category',
'post_status', 'post_excerpt');
}}}
I was able to gain control of the publish status.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10764>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list