[wp-trac] [WordPress Trac] #48795: Replace Video button in Video widget broken in 5.3

WordPress Trac noreply at wordpress.org
Tue Nov 26 13:29:32 UTC 2019


#48795: Replace Video button in Video widget broken in 5.3
--------------------------+-----------------------------
 Reporter:  karl94        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  5.3
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 In WordPress 5.3 the ''Replace Video'' button in the Video widget is
 broken.
 To reproduce the problem:
 1. Open the widget screen
 2. Add a Video widget to any sidebar
 3. Add a video to the widget
 4. Click on "Replace Video"

 In WordPress 5.2 the modal shows up fine, on WordPress 5.3 nothing happens
 and the JavaScript console shows the following error:

 {{{
 TypeError: view.url.focus is not a function media-widgets.js:422:14
 }}}

 This regression was introduced by [45524], which removes the `focus`
 method of `wp.media.view.EmbedUrl`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48795>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list