[wp-trac] [WordPress Trac] #49437: map_meta_cap was called incorrectly on wp_dashboard()

WordPress Trac noreply at wordpress.org
Fri Feb 14 19:18:40 UTC 2020


#49437: map_meta_cap was called incorrectly on wp_dashboard()
----------------------------+------------------------------
 Reporter:  sebastienserre  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  administration
----------------------------+------------------------------

Comment (by eclev91):

 Yeah, I have been meaning to put in a patch for this. It's coming from the
 recent comments panel. I propose that panel check that a post type exists
 before trying to display the comment, or in some other way display the
 comment minus the post information if the post type is gone.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49437#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list