Opened 12 years ago
Closed 12 years ago
#29373 closed defect (bug) (invalid)
JS error in build (media)
| Reported by: | iseulde | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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. :)