[wp-hackers] A couple questions

Luke Bryan lukebryan at sharefaith.com
Wed Nov 2 06:00:54 UTC 2016


Greetings all,

I had a couple questions regarding the newer versions of Wordpress:

I noticed that even in the WP 4.7 beta, Wordpress is using jQuery-ui 1.11 -
that's one from over a year ago according to the change log.
https://jqueryui.com/changelog/

I was just curious if this is because 1.12 has removed "Support for IE8,
IE9, and IE10" - is Wordpress still tested compatible with old IE browsers,
even versions that should've been replaced?


I also noticed an interesting optimization for MCE - in
wp-includes/js/tinymce/wp-tinymce.php there is a case where when called, it
can serve up the prepackaged .js.gz file, with header('Content-Encoding:
gzip').
I'm wondering why a similar case isn't added for other large scripts, as
that could significantly speed loading of the scripts when gzipped. In
fact, why not check for a .js.gz file for any and all enqueued scripts and
serve the gzip js to the majority of browsers that support it?


Best regards,
Luke


More information about the wp-hackers mailing list