Make WordPress Core

Changeset 24009


Ignore:
Timestamp:
04/17/2013 01:50:12 PM (11 years ago)
Author:
ryan
Message:

Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.

see #24046

File:
1 edited

Legend:

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

    r24006 r24009  
    192192            classes = props.classes || [];
    193193
    194             img.src = attachment.url;
     194            img.src = props.url;
    195195            _.extend( img, _.pick( props, 'width', 'height', 'alt' ) );
    196196
Note: See TracChangeset for help on using the changeset viewer.