[wp-trac] [WordPress Trac] #16956: Comments Being Pulled from Non-Existent Post Types
WordPress Trac
noreply at wordpress.org
Fri Aug 28 14:05:03 UTC 2015
#16956: Comments Being Pulled from Non-Existent Post Types
-------------------------------------------------+-------------------------
Reporter: sterlo | Owner:
Type: defect (bug) | boonebgorges
Priority: normal | Status: reviewing
Component: Posts, Post Types | Milestone: 4.4
Severity: normal | Version: 3.1
Keywords: has-patch 2nd-opinion needs-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => reviewing
* milestone: Future Release => 4.4
Comment:
nofearinc - Ha, we'd all gotten so caught up in the capabilities issue
that we overlooked this. You are correct that it's much safer. The problem
of cap checks against comments belonging to non-existent post types still
exists, but maybe it doesn't surface anywhere in core except for this
spot.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16956#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list