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

WordPress Trac noreply at wordpress.org
Sat Feb 16 13:36:57 UTC 2013


#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 ocean90):

 I have started with the [http://api.jquery.com/live/ .live()] event.
 {{{
 $ ack ".live\(" -l --ignore-dir=wp-content
 wp-admin/js/categories.js
 wp-admin/js/inline-edit-post.js
 wp-admin/js/inline-edit-tax.js
 wp-admin/js/post.js
 wp-admin/js/tags.js
 wp-includes/js/jquery/jquery-migrate.js
 wp-includes/js/swfupload/handlers.js
 wp-includes/js/thickbox/thickbox.js
 }}}


 [attachment:22975.replace-live.patch] adresses
 * wp-admin/js/inline-edit-post.js
 * wp-admin/js/inline-edit-tax.js
 * wp-admin/js/tags.js

 I ignored external libs like Thickbox. `wp-admin/js/categories.js` isn't
 used anymore, see #23486.


 `wp-admin/js/post.js`: I have no idea what these lines should do, it seems
 that it does nothing.

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


More information about the wp-trac mailing list