[wp-trac] [WordPress Trac] #27795: Contributor Role unable to 'Save Draft' posts
WordPress Trac
noreply at wordpress.org
Mon Apr 14 12:14:58 UTC 2014
#27795: Contributor Role unable to 'Save Draft' posts
-------------------------------------+-----------------------------
Reporter: stylemo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.8.3
Component: Posts, Post Types | Version: 3.8.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by dd32):
* keywords: has-patch => has-patch needs-testing
Comment:
[attachment:27795.diff] is a patch I was working on that makes use of the
existing auto-draft -> draft conversion which takes place inside
edit_post() (line 206-208), this also avoids an unset index notice in that
same block (`$post_data['post_status']` is unset on 206 in this case).
I've added extra context to the patch to see that logic.
SergeyBiryukov's patch does exactly the same thing really, it just happens
in a different function,
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27795#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list