Make WordPress Core

Ticket #24896: 24896.diff

File 24896.diff, 1.6 KB (added by markjaquith, 11 years ago)
  • wp-includes/js/mediaelement/wp-mediaelement.css

     
    88
    99.mejs-controls .mejs-time-rail .mejs-time-current {
    1010        background: #d54e21;
    11 }
    12  No newline at end of file
     11}
     12
     13.me-cannotplay {
     14        width: auto !important;
     15}
  • wp-includes/media.php

    function wp_audio_shortcode( $attr ) { 
    910910                'loop'     => $loop,
    911911                'autoplay' => $autoplay,
    912912                'preload'  => $preload,
     913                'style'    => 'width: 100%',
    913914        );
    914915
    915916        // These ones should just be omitted altogether if they are blank
  • wp-includes/script-loader.php

    function wp_default_styles( &$styles ) { 
    569569        $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css" );
    570570
    571571        $styles->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelementplayer.min.css", array(), '2.12.1-20130724' );
    572         $styles->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement.css", array( 'mediaelement' ) );
     572        $styles->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement.css", array( 'mediaelement' ), '2013-08-01' );
    573573
    574574        foreach ( $rtl_styles as $rtl_style ) {
    575575                $styles->add_data( $rtl_style, 'rtl', true );