From 786e5483fc82fdcb3629f58947b4670f13809e4a Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 26 Apr 2013 15:10:06 +0000 Subject: [PATCH] Fix the appearance of a blank media item due to [23893]. props kovshenin. fixes #24094. git-svn-id: https://develop.svn.wordpress.org/trunk@24110 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/media-models.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wp-includes/js/media-models.js b/wp-includes/js/media-models.js index d5abcf75d2..a7674324bd 100644 --- a/wp-includes/js/media-models.js +++ b/wp-includes/js/media-models.js @@ -571,13 +571,6 @@ window.wp = window.wp || {}; return this.mirroring ? this.mirroring.hasMore() : false; }, - parse: function( resp, xhr ) { - return _.map( resp, function( attrs ) { - var attachment = Attachment.get( attrs.id ); - return attachment.set( attachment.parse( attrs, xhr ) ); - }); - }, - _requery: function() { if ( this.props.get('query') ) this.mirror( Query.get( this.props.toJSON() ) );