#2331 closed defect (bug) (fixed)
loading link-categories.php without any categories produces PHP warning
| Reported by: | doit-cu | Owned by: | mdawaffe |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Realizing that it is not standard behavior to have no link categories, this error message can quite easily be suppressed. Patch on the way.
Error:
Warning: Invalid argument supplied for foreach() in /var/www/people/htdocs/wordpress/wp-admin/link-categories.php on line 305
Attachments (2)
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)
Thanks for yet another patch, but don't forget to bg|has-patch :)