[wp-trac] [WordPress Trac] #37196: Notice: Undefined offset: 0 in wp-admin/menu-header.php

WordPress Trac noreply at wordpress.org
Thu Sep 3 19:20:42 UTC 2020


#37196: Notice: Undefined offset: 0 in wp-admin/menu-header.php
-------------------------------------------------+-------------------------
 Reporter:  argonius                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:  wontfix
 Keywords:  has-patch needs-testing reporter-    |     Focuses:
  feedback                                       |  administration
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * status:  new => closed
 * resolution:   => wontfix
 * component:  General => Administration


Comment:

 Since there has been no reporter feedback and I cannot find any additional
 reports, I am going to close this out.

 Looking at the code, the `0` index of this array is the sub menu item
 title. I can't think of a good use case for having a menu item with no
 title. If anything, this notice is a good indicator that something is not
 working correctly.

 If you are still able to reproduce and something different is going on,
 please feel free to reopen with more details.

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


More information about the wp-trac mailing list