[wp-trac] [WordPress Trac] #44591: PHP notice if optional argument isn't passed to map_meta_cap()

WordPress Trac noreply at wordpress.org
Wed Jul 18 15:47:33 UTC 2018


#44591: PHP notice if optional argument isn't passed to map_meta_cap()
-------------------------------+------------------------------
 Reporter:  henry.wright       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by henry.wright):

 Hi @johnbillion

 The entry I'm getting in debug.log is ```PHP Notice:  Undefined offset: 0
 in wp-includes/capabilities.php on line 136```. I'm still trying to track
 down the code that is generating it.

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


More information about the wp-trac mailing list