WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/26/2014 12:10:21 PM (7 years ago)
Author:
wonderboymusic
Message:

Don't make mce-view a dependency for media-audiovideo. Make media-audiovideo and wp-playlist dependencies for mce-view and only enqueue mce-view in the admin in wp_enqueue_media(). MCE views don't need to be included when media is loaded on the front end.

Fixes #27509.

File:
1 edited

Legend:

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

    r27695 r27733  
    1919<audio controls
    2020    class="wp-audio-shortcode"
     21    width="{{ _.isUndefined( data.model.width ) ? 400 : data.model.width }}"
    2122    preload="{{ _.isUndefined( data.model.preload ) ? 'none' : data.model.preload }}"
    2223    <#
Note: See TracChangeset for help on using the changeset viewer.