[wp-trac] [WordPress Trac] #10764: XML- RPC, blogger_editPost, Publish Status not working

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 10 19:12:34 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:             
--------------------------+-------------------------------------------------

Comment(by redsweater):

 I agree there appears to be a problem with the blogger_editPost method.

 Something like what bobby_drk suggested sounds like a good fix, but you
 should be careful to add the proposed line a bit earlier, before the first
 line that tests against post_status

                 if ( ('publish' == $post_status) &&
 !current_user_can('publish_posts') )

 I suspect this has not generally caused problems because very, very few
 clients probably use the blogger_editPost method. bobby_drk, if you can
 help it I would recommend not using it, and instead using the metaweblog
 variant. That will get things working for you instantly without having to
 wait for the patch to go through.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10764#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list