[wp-trac] [WordPress Trac] #17968: deregistered taxonomy makes menu uneditable
WordPress Trac
wp-trac at lists.automattic.com
Sun Jul 3 14:17:56 UTC 2011
#17968: deregistered taxonomy makes menu uneditable
--------------------------+-----------------------------
Reporter: wpmuguru | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.2
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
Steps to reproduce:
- register a custom taxonomy (either for posts of for a custom post type)
- add a term under that taxonomy
- create/edit a post and add the term to the post
- publish the post
- edit a nav menu & add the term to the menu
- deactivate the plugin that registers the taxonomy
Attached is a patch that fixes the issue. However, the is_wp_error check
in wp_check_invalid_utf8() might not be the appropriate place to
catch/mitigate the second WP error.
I'm technically on vacation for the next couple weeks so I'm not setting
the priority, etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17968>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list