Make WordPress Core

Opened 4 years ago

Closed 18 months ago

#50705 closed defect (bug) (worksforme)

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

Reported by: dxwnh157's profile dxwnh157 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.4.2
Component: Media Keywords:
Focuses: ui, javascript Cc:


This error causes the following bug.

"attrs.ids" must be array type, but in some cases it is number type.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.

18 months ago

#2 @antpb
18 months ago

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

Thank you for this report @dxwnh157 ! This seems to have been fixed with some changes to how the data is handled. Single image galleries seem to be allowing the edit now.

I am going to close this but if it is still happening for you on WordPress 6.2 RC 1 please let us know!

Note: See TracTickets for help on using tickets.