[wp-trac] [WordPress Trac] #33154: Issues with Editing Comments where the post ID is zero or post is deleted
WordPress Trac
noreply at wordpress.org
Thu Aug 13 22:30:28 UTC 2015
#33154: Issues with Editing Comments where the post ID is zero or post is deleted
-----------------------------+-----------------------------
Reporter: johnnietb | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2.5
Component: Role/Capability | Version: 4.2.3
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
-----------------------------+-----------------------------
Changes (by ocean90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"33614"]:
{{{
#!CommitTicketReference repository="" revision="33614"
Capabilities: Fall back to the `edit_posts` capability for orphaned
comments.
Also avoid PHP notices because of orphaned comments in the comments list
table.
Includes unit test.
props pento, dd32.
fixes #33154.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33154#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list