[wp-trac] [WordPress Trac] #13346: Object term relationships fetched and updated for taxonomies not support by post type

WordPress Trac wp-trac at lists.automattic.com
Tue May 11 16:20:19 UTC 2010


#13346: Object term relationships fetched and updated for taxonomies not support by
post type
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Menus         |     Version:     
 Severity:  blocker       |    Keywords:     
--------------------------+-------------------------------------------------
 This is easily seen when updating menu items. Even though objects of type
 nav_menu_item only support the nav_menu taxonomy, wp_set_post_categories()
 and wp_set_post_tags() are called.  wp_get_single_post() also calls
 wp_get_post_categories() and wp_get_post_tags().  These should be wrapped
 in is_object_in_taxonomy() checks.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13346>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list