Opened 16 years ago
Closed 15 years ago
#13936 closed defect (bug) (fixed)
$wp_taxonomies should be cast as an array in /wp-admin/menu.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.1 | Priority: | lowest |
| Severity: | minor | Version: | |
| Component: | General | Keywords: | has-patch gsoc |
| Focuses: | Cc: |
Description
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).
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I'm talking about this:
foreach ( $wp_taxonomies as $tax ) {