Opened 13 years ago
Closed 13 years ago
#12949 closed defect (bug) (fixed)
Nav Menu throws a fatal error for invalid taxonomies
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | has-patch |
Focuses: | Cc: |
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.
(In [14048]) Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.