#13133 closed defect (bug) (fixed)
Users with "Contributor" role can't save initial draft with JavaScript disabled
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | high |
Severity: | blocker | Version: | 3.0 |
Component: | Autosave | Keywords: | has-patch needs-review |
Focuses: | Cc: |
Description
Users with the "Contributor" role can't save a new post as draft with JavaScript disabled. They can Submit for Review or edit existing drafts, but they can't post that initial one.
This doesn't seem to be a problem with any of the other roles.
I'm not sure if WordPress requires JavaScript support now, but if it does, shouldn't it check for it? I don't submit tickets so please delete (with my apologies) if I missed something or this is a known issue.
Steps to recreate
- Disable JavaScript in your browser
- Log in as a user with the Contributor role (doesn't seem to affect other roles)
- Go to Posts > Add New to create a new post
- Hit "Save Draft"
What happens
Post edit screen reloads with the title missing. Draft post is not created and the preview link does not work.
What should happen
A new draft post should have been created.
Attachments (1)
Change History (8)
#3
@
15 years ago
- Component changed from General to Autosave
- Keywords needs-patch added
- Owner set to azaozz
- Priority changed from normal to high
#4
@
15 years ago
- Keywords has-patch needs-review added; needs-patch removed
post_new creates auto-draft post. admin_ajax converts post_status from 'auto-draft' to 'draft'
copied same logic to edit_post() for js-disabled draft saves.
So far I have determined that the post is actually being created, however the post status stays as auto-draft.