[wp-trac] [WordPress Trac] #43049: jQuery-indipendent frontend
WordPress Trac
noreply at wordpress.org
Tue Jan 9 02:55:26 UTC 2018
#43049: jQuery-indipendent frontend
---------------------------+--------------------------------------
Reporter: valdrinkoshi | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version: 4.9.1
Severity: normal | Resolution: maybelater
Keywords: | Focuses: javascript, performance
---------------------------+--------------------------------------
Changes (by dd32):
* status: new => closed
* resolution: => maybelater
* focuses: ui, javascript, performance => javascript, performance
* component: Themes => Bundled Theme
* milestone: Awaiting Review =>
Comment:
Hey @valdrinkoshi and welcome to Trac.
While I see the benefit in not using jQuery, looking at `global.js` and
`navigation.js` it looks like dropping jQuery is going to increase the
maintenance burden with having to deal with cross-browser quirks which
many of the jQuery methods we call already works around.
Furthermore, if we were to change the default themes, it'd have a onward
effect upon themes built on top of them, and due to the length of time
that `twentyseventeen` (or all of the `twenty*` themes) has been out
there, that's a lot of sites. It's not only sites which expect these files
to have been written the way they are, but also sites who assume jQuery
will be available as it's a dependancy of the theme.
I don't think this is something we can change at this point in time,
however, I'd urge you to bring it up for when the next default theme gets
developed - I don't know when that will be, keep an eye on
https://make.wordpress.org/core/ if you're interested in getting involved.
Unfortunately due to the above I don't think this is something we can work
on right now for the existing bundled themes, but hopefully future themes
will be able to take that into consideration.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43049#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list