[wp-trac] [WordPress Trac] #13936: $wp_taxonomies should be cast as an array in /wp-admin/menu.php

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 17 06:03:44 UTC 2010


#13936: $wp_taxonomies should be cast as an array in /wp-admin/menu.php
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  lowest        |   Milestone:  3.1        
Component:  General       |     Version:             
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 Always best to cast variables to an array when running them through
 `foreach()`, otherwise you can get warnings (which I'm currently getting
 due to a plugin's usage of the file).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13936>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list