[wp-trac] [WordPress Trac] #21031: map_meta_cap emits notices if $post is empty

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 21 04:11:55 UTC 2012


#21031: map_meta_cap emits notices if $post is empty
------------------------------+-----------------------------
 Reporter:  johnjamesjacoby   |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Warnings/Notices  |    Version:
 Severity:  normal            |   Keywords:  has-patch
------------------------------+-----------------------------
 map_meta_cap is not prepared to handle missing or invalid post ID's. To
 duplicate this, delete a post from the posts table without deleting its
 attached comments, then visit the admin dashboard with the recent comments
 widget visible.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21031>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list