[wp-trac] [WordPress Trac] #50705: Uncaught TypeError: attrs.ids.split is not a function at media-editor.js:385
WordPress Trac
noreply at wordpress.org
Mon Jul 20 18:53:52 UTC 2020
#50705: Uncaught TypeError: attrs.ids.split is not a function at media-
editor.js:385
----------------------------+-----------------------------
Reporter: dxwnh157 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.4.2
Severity: normal | Keywords:
Focuses: ui, javascript |
----------------------------+-----------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50705>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list