WordPress.org

Make WordPress Core

Opened 2 months ago

#50705 new defect (bug)

Uncaught TypeError: attrs.ids.split is not a function at media-editor.js:385

Reported by: dxwnh157 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.2
Component: Media Keywords:
Focuses: ui, javascript Cc:

Description

This error causes the following bug.
https://wordpress.org/support/topic/edit-button-gallery-not-working/

"attrs.ids" must be array type, but in some cases it is number type.
https://github.com/WordPress/WordPress/blob/5.4.2/wp-includes/js/media-editor.js#L386

Attachments (1)

スクリーンショット 2020-07-21 3.31.05.png (329.0 KB) - added by dxwnh157 2 months ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.