Index: /trunk/wp-includes/js/media-views.js =================================================================== --- /trunk/wp-includes/js/media-views.js (revision 22579) +++ /trunk/wp-includes/js/media-views.js (revision 22580) @@ -2140,5 +2140,5 @@ if ( 'image' === options.type ) - _.extend( options, this.imageSize() ); + options.size = this.imageSize(); this.$el.html( this.template( options ) ); Index: /trunk/wp-includes/media.php =================================================================== --- /trunk/wp-includes/media.php (revision 22579) +++ /trunk/wp-includes/media.php (revision 22580) @@ -1281,10 +1281,12 @@ } - $response = array_merge( $response, array( + $sizes['full'] = array( 'height' => $meta['height'], 'width' => $meta['width'], - 'sizes' => $sizes, + 'url' => $attachment_url, 'orientation' => $meta['height'] > $meta['width'] ? 'portrait' : 'landscape', - ) ); + ); + + $response = array_merge( $response, array( 'sizes' => $sizes ), $sizes['full'] ); } @@ -1431,5 +1433,5 @@