[wp-trac] [WordPress Trac] #12949: Nav Menu throws a fatal error for invalid taxonomies
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 9 23:38:01 UTC 2010
#12949: Nav Menu throws a fatal error for invalid taxonomies
--------------------------+-------------------------------------------------
Reporter: ptahdunbar | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Menus | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Reported by Ron from [http://lists.automattic.com/pipermail/wp-
testers/2010-April/012539.html wp-testers mailinglist]:
> When I go to Menus I get the following error:[[BR]]
> " 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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12949>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list