[wp-trac] [WordPress Trac] #29373: JS error in build (media)
WordPress Trac
noreply at wordpress.org
Mon Aug 25 23:50:46 UTC 2014
#29373: JS error in build (media)
--------------------------+-----------------------------
Reporter: avryl | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
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"
}
})
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29373>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list