[wp-trac] [WordPress Trac] #47342: Get version of WordPress's jQuery
WordPress Trac
noreply at wordpress.org
Thu May 23 18:45:17 UTC 2019
#47342: Get version of WordPress's jQuery
---------------------------+-------------------------
Reporter: mizzinc | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Script Loader | Version: 5.2.1
Severity: normal | Resolution: worksforme
Keywords: close | Focuses:
---------------------------+-------------------------
Changes (by azaozz):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Replying to [comment:10 mizzinc]:
No trouble at all, thanks for reporting this :)
Yeah, ideally we should upgrade to the latest jQuery and then keep it
current, see #37110. Then things like this won't happen. In any case,
plugins that redirect loading of local scripts to external CDNs should be
more strict when checking the versions, see the above example (there may
also be user privacy issues, but that's for the site admins that use the
plugins to decide, provided they understand the implications).
On the other hand, literally all WP sites use jQuery, both in wp-admin and
the front-end. And there are tons and tons of old/outdated/unsupported
scripts that use it. Also, jQuery 4.0 is on the way, see
https://github.com/jquery/jquery/milestone/7. Perhaps we should do that
when it is out, maybe WP 5.4 or 5.5?. It will take tons of back-compat
checking and fixing but it's worth it :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47342#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list