[wp-trac] [WordPress Trac] #39650: Commenting on a draft post results in blank page
WordPress Trac
noreply at wordpress.org
Sat Jan 28 14:10:10 UTC 2017
#39650: Commenting on a draft post results in blank page
--------------------------------------+------------------
Reporter: sumitbagthariya16 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Changes (by swissspidy):
* keywords: has-patch dev-feedback needs-unit-tests => has-patch has-unit-
tests
Comment:
> The correct capability might be `edit_post` instead of `read_post`, but
we'll see that with the unit test.
`read_post` is fine. `map_meta_cap()` handles this perfectly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39650#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list