Opened 5 years ago
Closed 5 years ago
#48795 closed defect (bug) (duplicate)
Replace Video button in Video widget broken in 5.3
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.3 |
Component: | Widgets | Keywords: | |
Focuses: | javascript | Cc: |
Description
In WordPress 5.3 the Replace Video button in the Video widget is broken.
To reproduce the problem:
- Open the widget screen
- Add a Video widget to any sidebar
- Add a video to the widget
- 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
.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac!
Thanks for the report, this is already fixed in [46745] / #48588.