Opened 16 years ago
Closed 16 years ago
#12949 closed defect (bug) (fixed)
Nav Menu throws a fatal error for invalid taxonomies
| Reported by: | ptahdunbar | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Menus | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Reported by Ron from wp-testers mailinglist:
When I go to Menus I get the following error:
" Object of class WP_Error could not be converted to string in
\...deleted...\wp-includes\formatting.php
on line 433"
Patch fixes this issue by checking if the terms retrieved by get_terms() is a WP_Error object.
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)
(In [14048]) Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.