Opened 11 years ago
Closed 11 years ago
#29373 closed defect (bug) (invalid)
JS error in build (media)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | |
| Focuses: | javascript | Cc: |
Description
To reproduce, rebuild WP, turn off SCRIPT_DEBUG and go to the media library or post screen:
[Error] TypeError: 'undefined' is not an object (evaluating 'wp.media.view.settings.post.id')
(anonymous function) (load-scripts.php, line 630)
The error happens here:
}, wp.media.playlist = new wp.media.collection({
tag: "playlist",
editTitle: f.editPlaylistTitle,
defaults: {
id: wp.media.view.settings.post.id,
style: "light",
tracklist: !0,
tracknumbers: !0,
images: !0,
artists: !0,
type: "audio"
}
})
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Sorry, I accidentally redownloaded WP which added all the minified files and I ended up with minified files that contained everything twice. And my editor doesn't show them... Oops. :)