[wp-trac] [WordPress Trac] #23055: New Menu Items Add a Mystery 0 below

WordPress Trac noreply at wordpress.org
Sat Mar 2 21:13:43 UTC 2013


#23055: New Menu Items Add a Mystery 0 below
--------------------------+--------------------
 Reporter:  Ipstenu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Menus         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------
Changes (by csixty4):

 * cc: dave@… (added)


Comment:

 Not a 1.9 issue per se. Narrowed it down to jquery-migrate.js. Without
 jquery-migrate, this returns the same results in jQuery 1.8.3 and 1.9.1:

 {{{
 > jQuery('<li>test</li>0')
 [<li>​test​</li>​]
 }}}

 but when jquery-migrate is loaded, 1.9.1 returns:

 {{{
 > jQuery('<li>test</li>0')
 [<li>​test​</li>​, "0"]
 }}}

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


More information about the wp-trac mailing list