Make WordPress Core

Ticket #30090: 30090.diff

File 30090.diff, 644 bytes (added by ericlewis, 11 years ago)
  • src/wp-includes/js/media-models.js

    diff --git src/wp-includes/js/media-models.js src/wp-includes/js/media-models.js
    index cba928d..21c18a0 100644
    window.wp = window.wp || {}; 
    77        /**
    88         * Create and return a media frame.
    99         *
    10          * Handles the default media experience. Automatically creates
    11          * and opens a media frame, and returns the result.
    12          * Does nothing if the controllers do not exist.
     10         * Handles the default media experience.
    1311         *
    1412         * @param  {object} attributes The properties passed to the main media controller.
    1513         * @return {wp.media.view.MediaFrame} A media workflow.