[wp-trac] [WordPress Trac] #39650: Commenting on a draft post results in blank page
WordPress Trac
noreply at wordpress.org
Thu Jan 26 08:12:52 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 dev-feedback needs-unit-tests | Focuses:
-----------------------------------------------------+------------------
Changes (by swissspidy):
* keywords: has-patch dev-feedback has-unit-tests => has-patch dev-
feedback needs-unit-tests
Comment:
`needs-unit-tests` means some unit tests need to be written for this, not
only running the existing tests. See the handbook for a
[https://make.wordpress.org/core/handbook/contribute/trac/keywords/ list
of all trac keywords]. Let me know if I can help with that. I might have
time to write tests myself next week.
[attachment:39650.6.patch] goes into the right direction. The correct
capability might be `edit_post` instead of `read_post`, but we'll see that
with the unit test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39650#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list