[wp-trac] [WordPress Trac] #34115: oEmbed not working on author page without posts
WordPress Trac
noreply at wordpress.org
Wed Oct 18 17:39:50 UTC 2017
#34115: oEmbed not working on author page without posts
---------------------------------------------+-----------------------------
Reporter: dannydehaan | Owner: swissspidy
Type: enhancement | Status: closed
Priority: high | Milestone: 4.9
Component: Embeds | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: template,
| performance
---------------------------------------------+-----------------------------
Comment (by westonruter):
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/34115#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list