XML- RPC, blogger_editPost, Publish Status not working
|Reported by:||bobby_drk||Owned by:||josephscott|
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.
Change History (7)
- Keywords has-patch added
- Milestone changed from Awaiting Review to Future Release