[wp-trac] [WordPress Trac] #12544: nav menu - need to strip tags from item descriptions

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 10:08:41 UTC 2010


#12544: nav menu - need to strip tags from item descriptions
--------------------------+-------------------------------------------------
 Reporter:  yoavf         |       Owner:  ryan      
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Menus         |     Version:  3.0       
 Severity:  major         |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 wp_setup_nav_menu_item( ) uses $menu_item->post_content as a fallback for
 $menu_item->description.

 It needs to be stripped of tags or else the HTML might break the post
 editing menu

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


More information about the wp-trac mailing list