[wp-trac] [WordPress Trac] #31257: Variable initialized with value of inappropriate type

WordPress Trac noreply at wordpress.org
Sat Feb 7 17:56:20 UTC 2015


#31257: Variable initialized with value of inappropriate type
----------------------------+-----------------------------
 Reporter:  ipm-frommen     |       Owner:  SergeyBiryukov
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31364"]:
 {{{
 #!CommitTicketReference repository="" revision="31364"
 In `_wp_menu_output()`, `$submenu_items` is an array and should be
 initialized as such.

 props ipm-frommen.
 fixes #31257.
 }}}

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


More information about the wp-trac mailing list