[wp-trac] [WordPress Trac] #37334: Embeds preview not working in the media modal
WordPress Trac
noreply at wordpress.org
Tue Jul 12 12:11:14 UTC 2016
#37334: Embeds preview not working in the media modal
---------------------------------------+-------------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: javascript
---------------------------------------+-------------------------
Changes (by swissspidy):
* keywords: needs-patch has-screenshots => has-screenshots has-patch
* milestone: Future Release => 4.6
Comment:
[attachment:37334.diff] enqueues the `wp-embed` script when a new
`wp_editor()` is instantiated and `_WP_Editors::$has_medialib` is true.
This fixes the preview inside the modal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37334#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list