[wp-trac] [WordPress Trac] #5725: Auto-convert Contributor's new post to draft

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 27 05:04:01 GMT 2008


#5725: Auto-convert Contributor's new post to draft
-------------------------+--------------------------------------------------
 Reporter:  toydi        |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.6      
Component:  XML-RPC      |     Version:  2.3.2    
 Severity:  minor        |    Keywords:  wp-app   
-------------------------+--------------------------------------------------
 Currently, wp-app.php implementation honors client-supplied app:draft
 element. If a contributor submits a new Atom entry without app:draft
 element set to 'yes', it rejects the request.

 [Current Response][[BR]]
 401 Unauthorized[[BR]]
 "Sorry, you do not have the right to edit/publish new posts."

 Imagine when a contributor forgets to set app:draft to 'yes' and submits a
 new post. By reading the error message, the contributor may mistakenly
 think that he is not allowed to submit posts at all. A proposed workaround
 has been submitted as ticket #5723.

 There is an alternate proposal:[[BR]]
 rather than rejecting the request, server may ignore client-supplied
 app:draft element and always treats a contributor's new post as draft.
 Based on [http://tools.ietf.org/html//rfc5023#section-13.1.1 RFC5023
 Section 13.1.1], server may ignore client-supplied app:draft element.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5725>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list