[wp-trac] [WordPress Trac] #22975: Remove deprecated jQuery methods from core to be safe for jQuery 1.9

WordPress Trac noreply at wordpress.org
Tue Dec 25 19:29:07 UTC 2012


#22975: Remove deprecated jQuery methods from core to be safe for jQuery 1.9
--------------------------------+------------------
 Reporter:  ocean90             |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  3.6
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |
--------------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:11 trepmal]:
 > "Add Custom Field" (and Update for existing custom fields) button
 results in javascript error.

 Confirmed. The error happens at the very beginning of `wpList.add()`:
 [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5/wp-includes/js/wp-
 lists.js#L310

 Seems that jQuery 1.9 has a problem if the string starts with `\n`. Also
 reproduced with this fiddle: http://jsfiddle.net/VnCrU/.

 [attachment:22975.custom-fields.patch] fixes the error.

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


More information about the wp-trac mailing list