[wp-trac] [WordPress Trac] #24724: _wpMediaViewsL10n not correctly enqueued in wp_enqueue_media()
WordPress Trac
noreply at wordpress.org
Fri Jul 12 07:17:25 UTC 2013
#24724: _wpMediaViewsL10n not correctly enqueued in wp_enqueue_media()
--------------------------+------------------------------
Reporter: Fab1en | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.5.2
Severity: trivial | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by Fab1en):
I have added a plugin that enqueues the media editor files on the
frontend. You can use it with WP 3.5.2 and Twenty Twelve theme.
1. Look at the generated source code for the home page, and note that
`media-views.min.js` is present without the preceding `_wpMediaViewsL10n`
declaration.
2. Comment out the filter that removes the admin bar, and see that
`_wpMediaViewsL10n` declaration is back.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24724#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list