Joy
(@joyously)
There is a core ticket to update jQuery, but there are problems in core JS when this is done, and many many plugins and themes that are using the version in core. https://core.trac.ww.wp.xz.cn/ticket/37110
So it hasn’t been solved yet.
The version in core is 1.12.4, but it has been patched with some security fixes from more recent versions.
Thank you for your exact response!
Your indication is correct.
Replacing with the latest JQauery caused problems with multiple plug-ins with different authors. I returned to the original JQauery.
Unfortunately, although it is a past asset of Yahoo !, an error occurs in the genius Yui Compressor and the JavaScript diet fails. Since it is an error in the error handling routine function, there should be no problem with the source.
If possible, please distribute jQuery.js after dieting with Yui Compressor. In MT, all JavaScript is distributed sectary Yui Compressor, and the original source is attached with another name.
If gzip compressed file is distributed at the same time, it will be kind, but over 500 JavaScript (.js) and style (.css) are dieted and gzip compressed and used in my WordPress.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# for .js.gz & .css.gz
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond "%{REQUEST_FILENAME}" \.(js|css)$
RewriteCond "%{REQUEST_FILENAME}.gz" -f
RewriteRule .+ %{REQUEST_URI}.gz [L]
# for .min.js.gz
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond "%{REQUEST_FILENAME}" ^(.*)/([^/]*)\.js$
RewriteCond "%1/%2.min.js.gz" -f
RewriteRule ([^/]*)\.js$ $1.min.js.gz [L]
# for .min.css.gz
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond "%{REQUEST_FILENAME}" ^(.*)/([^/]*)\.css$
RewriteCond "%1/%2.min.css.gz" -f
RewriteRule ([^/]*)\.css$ $1.min.css.gz [L]
# for .min.js
RewriteCond "%{REQUEST_FILENAME}" ^(.*)/([^/]*)\.js$
RewriteCond "%1/%2.min.js" -f
RewriteRule ([^/]*)\.js$ $1.min.js [L]
# for .min.css
RewriteCond "%{REQUEST_FILENAME}" ^(.*)/([^/]*)\.css$
RewriteCond "%1/%2.min.css" -f
RewriteRule ([^/]*)\.css$ $1.min.css [L]
</IfModule>
AddType "text/javascript;charset=UTF-8" .gz
AddType "text/css;charset=UTF-8" .gz
AddEncoding gzip .gz