[wp-trac] [WordPress Trac] #34918: Orphaned Comments From Nonexistent Post Type Causes Capability Warnings in Admin
WordPress Trac
noreply at wordpress.org
Fri Dec 11 02:50:35 UTC 2015
#34918: Orphaned Comments From Nonexistent Post Type Causes Capability Warnings in
Admin
--------------------------+------------------------------
Reporter: Funkatronic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: administration
--------------------------+------------------------------
Changes (by boonebgorges):
* keywords: => 2nd-opinion
Comment:
+1 to [comment:2 SergeyBiryukov]. The notice is by design; it warns the
admin that the proper cap checks are not taking place. And the decision to
leave this content (instead of hiding it) was a conscious one.
That said, @Funkatronic pointed out to me in a DM a powerful argument for
hiding comments orphaned in this way: we don't show *posts* from
unregistered post types. Does anyone else have a thought about this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34918#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list