diff --git a/wp-includes/js/media-editor.js b/wp-includes/js/media-editor.js index fce5fedbe1..e3c7e4d8d7 100644 --- a/wp-includes/js/media-editor.js +++ b/wp-includes/js/media-editor.js @@ -191,7 +191,7 @@ props = wp.media.string.props( props, attachment ); classes = props.classes || []; - img.src = attachment.url; + img.src = props.url; _.extend( img, _.pick( props, 'width', 'height', 'alt' ) ); // Only assign the align class to the image if we're not printing