Wordpress/tests/phpunit/tests/oembed
Pascal Birchler 2d2185bf76 Embeds: Improve performance when embedding a post from the current site.
When the post being embedded is from the same site, there's no reason to do an HTTP request for it. The data can be fetched directly using `get_oembed_response_data()`.

Merge of [37708], [37710] and [37729] to the 4.4 branch.

Fixes #36767.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@37798 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-21 14:41:05 +00:00
..
controller.php REST API: Update tests for [35653] 2015-11-17 05:26:30 +00:00
discovery.php Embeds: Don't show embed discovery link on a static front page. 2015-12-22 10:54:17 +00:00
filterResult.php Embeds: Improve how iframes are loaded after being initially hidden. 2016-03-30 10:56:44 +00:00
getResponseData.php Embeds: In get_post_embed_html(), move the optional $post argument after the required $width and $height. 2015-10-31 15:50:23 +00:00
headers.php Embeds: Who put this REST API infrastructure in my WordPress? 2015-10-29 22:50:13 +00:00
postEmbedUrl.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
template.php Embeds: Enforce, via unit tests, the no-ampersand rule for wp-embed.js. 2015-12-04 05:45:29 +00:00
wpOembed.php Embeds: Improve performance when embedding a post from the current site. 2016-06-21 14:41:05 +00:00