Make WordPress Core

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: karl94's profile karl94 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:

  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.

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, this is already fixed in [46745] / #48588.

Note: See TracTickets for help on using tickets.