[wp-trac] [WordPress Trac] #50564: Update jQuery step two
WordPress Trac
noreply at wordpress.org
Thu Oct 8 07:09:56 UTC 2020
#50564: Update jQuery step two
-------------------------------------------+-------------------------
Reporter: azaozz | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.6
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: early has-patch needs-testing | Focuses: javascript
-------------------------------------------+-------------------------
Comment (by azaozz):
@hareesh-pillai Yeah, there are a bunch of warnings from jquery-migrate.js
on pretty much all screens when you're running with `SCRIPT_DEBUG`. Most
are about deprecated event shorthands like `JQMIGRATE: jQuery.fn.click()
event shorthand is deprecated`. Should be pretty easy to fix these for 5.6
:)
@Mista-Flo hmm, cannot reproduce, running from either /build or /src. The
UI `widget` is now part of `ui/core.js`, perhaps the browser is still
using an old cached file? Could you try refreshing caches, and if still
not working go to `/src/wp-includes/js/jquery/ui/core.js?ver=1.12.1` and
see if there's a `$.widget = function...` about 2/3 down.
If that's not there, i.e. the file wasn't "built" properly, try deleting
`/src/wp-includes/js` and running build again. In some rare cases a file
may get the wrong permissions, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50564#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list