[wp-trac] [WordPress Trac] #37110: Update to jQuery 3.*
WordPress Trac
noreply at wordpress.org
Fri Jul 31 16:33:49 UTC 2020
#37110: Update to jQuery 3.*
-------------------------------------------------+-------------------------
Reporter: jorbin | Owner: (none)
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.5
Component: External Libraries | Version:
Severity: critical | Resolution:
Keywords: early has-patch needs-testing | Focuses: javascript
needs-screenshots has-dev-note commit |
-------------------------------------------------+-------------------------
Comment (by apedog):
@desrosj
If my suggestion is to be given serious consideration, then:
- a custom-wp {{{jquery-migrate}}}/{{{live}}}-polyfill that throws out
deprecation notes would only need to be maintained for one cycle.
- deprecation/doing_it_wrong notices could be made to print only if
{{{WP_DEBUG}}} is set to true. Same as PHP does. Thereby only targeting
plugin devs.
- console.log deprecation notices will have a ''MUCH'' wider reach than
dev- and release-notes. Every single dev will get a chance to see them for
an entire cycle. Not on the web - but in their console!
- An entire cycle with the deprecation notes (perhaps even with a 5.6
deadline explicitly mentioned in every log) is more likely to reduce the
burden of non-complying plugins. Hopefully, auto-updates will be adopted
more widely by then - reducing the risk of breakage even further. Plugins
can take their time complying.
- I understand the wish of developers (the majority of decision-makers) to
work with modern architecture/tools. Therefore the "bandaid" analogy.
Clunky jQuery 1.9 must go. But it doesn't have to be a bandaid. It can be
a careful transition.
I'm immensely impressed by the care the auto-updates team has taken to
facilitate as smooth a transition as possible and as little breakage as
possible. Would love to see the same happen here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37110#comment:154>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list