[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
Tue Aug 4 12:04:07 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.4
Component: Role/Capability | Version: 4.2.3
Severity: normal | Resolution:
Keywords: | Focuses: administration
-----------------------------+-----------------------------
Comment (by nphaskins):
We were using edit_post without passing a post_id, and previously this
worked.
https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-
includes/capabilities.php#L1143
We just changed from edit_post to edit_posts, which is merely a temp
patch, but we were able to at least stop the bleeder with that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33154#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list