Make WordPress Core

Changeset 24519


Ignore:
Timestamp:
06/26/2013 08:42:01 PM (11 years ago)
Author:
nacin
Message:

Media: Render unsupported audio files as links instead of mediaelement. props kovshenin, fixes #23798.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-editor.js

    r24447 r24519  
    127127                    shortcode.wma = attachment.url;
    128128                    break;
     129                default:
     130                    // Render unsupported audio files as links.
     131                    return wp.media.string.link( props );
    129132                }
    130133            }
Note: See TracChangeset for help on using the changeset viewer.