[wp-trac] [WordPress Trac] #27509: Audio/Video media modal scripts should not depend on mce-view.js
WordPress Trac
noreply at wordpress.org
Wed Mar 26 12:10:23 UTC 2014
#27509: Audio/Video media modal scripts should not depend on mce-view.js
--------------------------+-----------------------------
Reporter: gcorne | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript
--------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"27733"]:
{{{
#!CommitTicketReference repository="" revision="27733"
Don't make `mce-view` a dependency for `media-audiovideo`. Make `media-
audiovideo` and `wp-playlist` dependencies for `mce-view` and only enqueue
`mce-view` in the admin in `wp_enqueue_media()`. MCE views don't need to
be included when media is loaded on the front end.
Fixes #27509.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27509#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list