From c2bef6792fc2db6cd8bd4f33386b50ad55168cb0 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Mon, 12 Nov 2012 06:02:03 +0000 Subject: [PATCH] Media: Allow successive embed URLs. see [22547], #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22548 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/media-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 8594f0738a..5d8cee5735 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -556,7 +556,7 @@ }, reset: function() { - _.each( _.without( _.keys( this.attributes ), _.keys( this.defaults ) ), function( key ) { + _.each( _.difference( _.keys( this.attributes ), _.keys( this.defaults ) ), function( key ) { this.unset( key ); }, this );