[wp-trac] [WordPress Trac] #13368: Menu items will not be saved if menu name contains a comma

WordPress Trac wp-trac at lists.automattic.com
Wed May 12 20:39:54 UTC 2010


#13368: Menu items will not be saved if menu name contains a comma
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  3.0      
Component:  Menus         |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by filosofo):

  * keywords:  => has-patch


Comment:

 Fixed by passing menu tax term_id as int.  Notice, it must actually be an
 integer and not a numeric string, since a taxonomy function calls
 {{{is_int}}} to see whether to create a new term.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13368#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list