Make WordPress Core


Ignore:
Timestamp:
09/11/2015 06:29:26 PM (9 years ago)
Author:
wonderboymusic
Message:

After [34048], restore the else statement for h (height of video) in wp_underscore_video_template().

See #33798.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r34048 r34049  
    6868    if ( w !== data.model.width ) {
    6969        h = Math.ceil( ( data.model.height * w ) / data.model.width );
    70     }
     70    } else {
     71        h = data.model.height;
     72    }
    7173
    7274    if ( w ) {
Note: See TracChangeset for help on using the changeset viewer.