[wp-trac] [WordPress Trac] #28775: wp_dashboard_recent_comments() should limit to existing post types
WordPress Trac
noreply at wordpress.org
Mon Jul 7 15:52:39 UTC 2014
#28775: wp_dashboard_recent_comments() should limit to existing post types
--------------------------+-----------------------------
Reporter: Rarst | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.9.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The query for comments in the function doesn't account that comments can
belong to CPT which is no longer active. In that case it causes a lot of
notices downstream from read_post capability check.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28775>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list