[wp-trac] [WordPress Trac] #13905: No sanity check in map_meta_cap caps throws PHP notices

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 17 18:34:07 UTC 2010


#13905: No sanity check in map_meta_cap caps throws PHP notices
--------------------------+-----------------------
 Reporter:  filosofo      |       Owner:  filosofo
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Post Types    |     Version:  3.0
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  needs-patch   |
--------------------------+-----------------------

Comment (by nacin):

 My bad if that's what you interpreted.

 I don't think it's trivial, rather, it only happens when a nonexistent
 post/something is requested. While it should never occur, it's severe when
 it does.

 I also noticed yesterday that I'm not sure if a nonexistent post should
 mean no caps get mapped. See [comment:10 comment 10]. Hence punt made
 sense with a patch needing refresh.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13905#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list