Opened 5 years ago
Last modified 4 years ago
#5725 new enhancement
Auto-convert Contributor's new post to draft
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | XML-RPC | Version: | 2.3.2 |
| Severity: | minor | Keywords: | has-patch needs-testing |
| Cc: | westi |
Description
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]
401 Unauthorized
"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:
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 RFC5023 Section 13.1.1, server may ignore client-supplied app:draft element.
Attachments (1)
Change History (8)
- Keywords needs-testing added; wp-app removed
- Milestone changed from 2.8 to 2.9
Punting per discussion during the WP meet-up...

a patch with the proposed enhancement