Go to file
Pascal Birchler c3394e2c93 Embeds: Improve height calculation for slow loading images.
When the featured image takes longer to load, the browser might not know its exact dimensions yet and therefore sends an incorrect document height to the embedding site.

By sending the document's height again after the featured image has been loaded, we ensure that the iframe doesn't get cut off.

Fixes #35657.

git-svn-id: https://develop.svn.wordpress.org/trunk@37745 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-18 09:59:54 +00:00
src Embeds: Improve height calculation for slow loading images. 2016-06-18 09:59:54 +00:00
tests Posts: Add `$post` parameter to modified date and time functions. 2016-06-17 05:11:29 +00:00
tools/i18n DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
.editorconfig
.gitignore
.jshintrc
.travis.yml Output node and npm versions on travis 2016-06-16 17:27:22 +00:00
Gruntfile.js Build/Test Tools: Run prerelease as the precommit task for configuration file changes 2016-06-07 03:32:22 +00:00
package.json Update grunt-patch-wordpress to 0.4.0 2016-06-01 21:24:09 +00:00
phpunit.xml.dist Set a whitelist for PHPUnit code coverage. 2016-05-17 20:22:57 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php