[wp-trac] [WordPress Trac] #51519: Remove use of jQuery ready()

WordPress Trac noreply at wordpress.org
Fri Mar 19 09:24:15 UTC 2021


#51519: Remove use of jQuery ready()
--------------------------+-------------------------
 Reporter:  wpnomad       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-------------------------

Comment (by SergeyBiryukov):

 There are also a few instances in bundled themes:

 * `wp-content/themes/twentyeleven/inc/theme-options.js`
 * `wp-content/themes/twentyeleven/js/showcase.js`
 * `wp-content/themes/twentyfifteen/js/functions.js`
 * `wp-content/themes/twentyfourteen/js/featured-content-admin.js`
 * `wp-content/themes/twentyseventeen/assets/js/global.js`
 * `wp-content/themes/twentysixteen/js/functions.js`
 * `wp-content/themes/twentytwenty/assets/js/customize.js`
 * `wp-content/themes/twentytwenty/assets/js/customize-preview.js`

 These may be harder to remove, as the themes must remain compatible with
 older WP versions they were released in, and possibly one or two versions
 before that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51519#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list