#23065 closed defect (bug) (fixed)
Post Becomes Unprotected (Password) Without Explicit Permission
Reported by: | AKTed | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | major | Version: | 2.7 |
Component: | Editor | Keywords: | has-patch commit editorial-flow |
Focuses: | Cc: |
Description
When you edit a post that's password protected and click 'Edit' next to 'Visibility: Password Protected', if you click 'Cancel' (still shows as 'Password Protected') then subsequently 'Update' it will change the visibility to 'Public'.
If you look closely, right after you click 'Cancel', while the section is collapsing, you'll see the password disappear. But it still says 'Visibility: Password Protected'.
Attachments (2)
Change History (14)
#2
@
12 years ago
- Keywords has-patch added
- Resolution set to fixed
- Status changed from new to closed
#3
@
12 years ago
- Milestone changed from Awaiting Review to 3.6
- Resolution fixed deleted
- Status changed from closed to reopened
Tickets are marked as fixed when a change is made to the WordPress codebase which fixes the issue.
#4
@
12 years ago
- Cc mdhansen@… added
Tested the patch on 3.6-alpha-23223. Fixes typo, correcting the problem.
#5
@
12 years ago
- Version changed from 3.4.2 to 2.8
I tracked this down to at least 2.8. hidden_post_password is the name, hidden-post-password appears to have always been the ID.
#6
@
12 years ago
- Keywords commit added
- Version changed from 2.8 to 2.7
Introduced in [9639]. patch_commit_1bf7f3273cb1.patch looks proper.
#9
@
12 years ago
patch_commit_f941f7f69a79.patch would also require a change in CSS:
http://core.trac.wordpress.org/browser/tags/3.5/wp-admin/css/wp-admin.css#L3228
I guess it's better to leave post_password
ID as is, for backwards compatibility reasons. A similar change was suggested for Dashboard in #17555.
patch_commit_1bf7f3273cb1.patch is enough to fix the issue.
Tested and confirmed in both 3.5 and 3.4.2.