[wp-trac] [WordPress Trac] #50564: Update jQuery step two

WordPress Trac noreply at wordpress.org
Wed Oct 7 21:38:48 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 Mista-Flo):

 Hi there,

 since the last commit in trunk, I have got some console errors and bugs on
 both classic and block editor.

 {{{
 mouse.js?ver=1.12.1:31 Uncaught TypeError: $.widget is not a function
     at mouse.js?ver=1.12.1:31
     at mouse.js?ver=1.12.1:22
     at mouse.js?ver=1.12.1:24
 postbox.js?ver=5.6-alpha-48683-src:369 Uncaught TypeError: $(...).sortable
 is not a function
     at Object.init (postbox.js?ver=5.6-alpha-48683-src:369)
     at Object.add_postbox_toggles (postbox.js?ver=5.6-alpha-48683-src:260)
     at HTMLDocument.<anonymous> (post.js?ver=5.6-alpha-48683-src:312)
     at i (jquery.js?ver=3.5.1:2)
     at Object.fireWith [as resolveWith] (jquery.js?ver=3.5.1:2)
     at Function.ready (jquery.js?ver=3.5.1:2)
     at HTMLDocument.J (jquery.js?ver=3.5.1:2)
 }}}

 I use the wordpress-develop environment, with src (instead of build)
 folder.

 I can reproduce with twentytwenty, twentyseventeen themes.
 I can reproduce without any plugin enabled, and with classic editor and
 gutenberg plugin enabled.

 For example when creating a post with classic editor, I'm not able to
 switch from Visual to Text mode.

 Can you also reproduce?

 I do not reproduce the issue if I checkout the commit sha just before the
 jquery update 2.

 `git checkout 0d313839e67fb446f5c70cf01c439c8426014f59`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50564#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list