[wp-trac] [WordPress Trac] #52056: Twenty Fourteen Theme - jQuery issue WordPress 5.6

WordPress Trac noreply at wordpress.org
Sun Dec 13 14:44:34 UTC 2020


#52056: Twenty Fourteen Theme - jQuery issue WordPress 5.6
---------------------------+-------------------------
 Reporter:  stfa76         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:  duplicate
 Keywords:                 |     Focuses:  javascript
---------------------------+-------------------------
Changes (by Clorith):

 * status:  new => closed
 * version:   => 5.6
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Old description:

> Hi,
>
> Steps to reproduce :
> - Install WordPress 5.6
> - Install Theme Twenty Fourteen
> - Go to the frontend and block request jquery-migrate.min.js
>
> => The following error appears in the console:
>
> Uncaught TypeError: e.indexOf is not a function
> load jQuery
> http://localhost:8888/wordpress-blank/wp-
> content/themes/twentyfourteen/js/functions.js?ver=20171218:150
> http://localhost:8888/wordpress-blank/wp-
> content/themes/twentyfourteen/js/functions.js?ver=20171218:211
> jquery.min.js:2:84831
>
> Unblock request jquery-migrate.min.js => No more error in the console.
>
> This will become a permanent issue when jquery-migrate will be definitly
> removed with Wordpress 5.7.
>
> Thank you for your help.
> Best regards,
> Stephane.

New description:

 Hi,

 Steps to reproduce :
 - Install WordPress 5.6
 - Install Theme Twenty Fourteen
 - Go to the frontend and block request jquery-migrate.min.js

 => The following error appears in the console:

 Uncaught TypeError: e.indexOf is not a function
 load jQuery
 http://localhost:8888/wordpress-blank/wp-
 content/themes/twentyfourteen/js/functions.js?ver=20171218:150
 http://localhost:8888/wordpress-blank/wp-
 content/themes/twentyfourteen/js/functions.js?ver=20171218:211
 jquery.min.js:2:84831

 Unblock request jquery-migrate.min.js => No more error in the console.

 This will become a permanent issue when jquery-migrate will be definitly
 removed with WordPress 5.7.

 Thank you for your help.
 Best regards,
 Stephane.

--

Comment:

 Hi there, and welcome to WordPress trac!

 You are absolutely correct that these themes have some jQuery deprecations
 in them, the plan is to have them updated before the jQuery Migrate script
 is turned off by default in a future WordPress release (tentatively
 planned for 5.7 at this time).

 The progress on updating jQuery code used in core can be followed in
 ticket #51812, as such I'm going to mark this as a duplicate, so we can
 consolidate our efforts in one location.

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


More information about the wp-trac mailing list