After [34048], restore the `else` statement for `h` (height of video) in `wp_underscore_video_template()`.
See #33798. Built from https://develop.svn.wordpress.org/trunk@34049 git-svn-id: http://core.svn.wordpress.org/trunk@34017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b4f08c7a0
commit
2f0fc3b97d
|
@ -67,6 +67,8 @@ function wp_underscore_video_template() {
|
||||||
|
|
||||||
if ( w !== data.model.width ) {
|
if ( w !== data.model.width ) {
|
||||||
h = Math.ceil( ( data.model.height * w ) / data.model.width );
|
h = Math.ceil( ( data.model.height * w ) / data.model.width );
|
||||||
|
} else {
|
||||||
|
h = data.model.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( w ) {
|
if ( w ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34048';
|
$wp_version = '4.4-alpha-34049';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue