WordPress.org

Make WordPress Core

Changeset 37556


Ignore:
Timestamp:
05/25/2016 01:32:33 PM (4 years ago)
Author:
iseulde
Message:

Media: unhide audio fallback

Introduced in [28182].
Fixes #36888.

File:
1 edited

Legend:

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

    r37543 r37556  
    20532053    ?>"<?php if ( 'video' === $safe_type ):
    20542054        echo ' height="', (int) $theme_height, '"';
    2055     else:
    2056         echo ' style="visibility: hidden"';
    20572055    endif; ?>></<?php echo $safe_type ?>>
    20582056    <div class="wp-playlist-next"></div>
     
    21642162 *     @type string $preload  The 'preload' attribute for the `<audio>` element. Default 'none'.
    21652163 *     @type string $class    The 'class' attribute for the `<audio>` element. Default 'wp-audio-shortcode'.
    2166  *     @type string $style    The 'style' attribute for the `<audio>` element. Default 'width: 100%; visibility: hidden;'.
     2164 *     @type string $style    The 'style' attribute for the `<audio>` element. Default 'width: 100%;'.
    21672165 * }
    21682166 * @param string $content Shortcode content.
     
    22012199        'preload'  => 'none',
    22022200        'class'    => 'wp-audio-shortcode',
    2203         'style'    => 'width: 100%; visibility: hidden;'
     2201        'style'    => 'width: 100%;'
    22042202    );
    22052203    foreach ( $default_types as $type ) {
Note: See TracChangeset for help on using the changeset viewer.