[wp-trac] [WordPress Trac] #22284: Beta Media button fails on frontend
WordPress Trac
noreply at wordpress.org
Tue Nov 20 02:38:37 UTC 2012
#22284: Beta Media button fails on frontend
---------------------------+--------------------
Reporter: travel-junkie | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: |
---------------------------+--------------------
Comment (by koopersmith):
Using media on the frontend with `wp_editor()` currently does not cause
any errors. That said, we could use a few bits of CSS to lock the styles
in place.
Enqueuing anything that depends on `wp-plupload` (such as `media-upload`)
without calling `wp_plupload_default_settings()` first will cause any
dependent script to break, as `wp.Uploader` bails without its settings.
The best way to fix this at the moment is probably to inspect whether the
`wp-plupload` script is enqueued at the standard script printing points,
and if so, generate its settings first.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22284#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list