Make WordPress Core


Ignore:
Timestamp:
08/07/2014 06:19:29 AM (11 years ago)
Author:
wonderboymusic
Message:

Video: use auto instead of actual height for the responsive wrapper in generated markup.

See #29110.

File:
1 edited

Legend:

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

    r29429 r29430  
    7272
    7373    if ( h ) {
    74         h_rule = ' height: ' + h + 'px;';
     74        h_rule = ' height: auto';
    7575    }
    7676#>
     
    298298                    }
    299299                    if ( data.height ) {
    300                         h_rule = ' height: ' + data.height + 'px;';
     300                        h_rule = ' height: auto';
    301301                    }
    302302                #>
Note: See TracChangeset for help on using the changeset viewer.