[wp-trac] [WordPress Trac] #33917: Using wp_editor outside the post editor screen does not give oembed functionality
WordPress Trac
noreply at wordpress.org
Thu Oct 22 14:19:38 UTC 2015
#33917: Using wp_editor outside the post editor screen does not give oembed
functionality
-------------------------+------------------------
Reporter: mbootsman | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Embeds | Version: 4.3
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
-------------------------+------------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
> This isn't so much of an editor limitation but rather a limitation of
the embeds functionality and how it was designed. It wasn't written to
work outside of the context of a post and so trying to use it for a widget
or anywhere else is going to require some custom implementation on your
part, mainly where to cache requests so that you aren't making an HTTP
request on every page load.
Correct. We need a fallback for the case where you're not inside a post,
which we can handle in #34115.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33917#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list