From 1ec12cccb9d12fdbde7c6592266fb875555c39f3 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: http://core.svn.wordpress.org/trunk@22548 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 );