Opened 16 years ago
Closed 16 years ago
#13936 closed defect (bug) (fixed)
$wp_taxonomies should be cast as an array in /wp-admin/menu.php
| Reported by: | Viper007Bond | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 3.1 |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch gsoc |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I'm talking about this:
foreach ( $wp_taxonomies as $tax ) {