[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
Wed Aug 12 06:05:06 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: assigned
Priority: normal | Milestone: 4.2.5
Component: Role/Capability | Version: 4.2.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-----------------------------+-----------------------------
Comment (by dd32):
[attachment:33154.3.diff] builds off [attachment:33154.2.diff] and simply
removes references to `get_post()` where it can (replacing with
`$comment->comment_post_ID`) or returns early when it's going to operate
with that post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33154#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list