[wp-trac] [WordPress Trac] #40854: Allow media to be embedded in Text widget
WordPress Trac
noreply at wordpress.org
Wed Oct 18 17:39:52 UTC 2017
#40854: Allow media to be embedded in Text widget
-------------------------------------+----------------------
Reporter: alexvorn2 | Owner: biskobe
Type: task (blessed) | Status: closed
Priority: high | Milestone: 4.9
Component: Widgets | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: needs-testing has-patch | Focuses: ui
-------------------------------------+----------------------
Changes (by westonruter):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"41913"]:
{{{
#!CommitTicketReference repository="" revision="41913"
Widgets: Fix previewing embeds in Text widget by allowing `parse-embed`
admin ajax requests with an empty `post_ID` just as
`WP_oEmbed_Controller::get_proxy_item_permissions_check()` allows.
As of #34115 if there is no post context the oEmbed will be cached in an
`oembed_cache` custom post type, so having a post as context is no longer
a requirement for caching.
Props biskobe, westonruter.
See #34115, #40450.
Fixes #40854.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40854#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list