From 6ee49f047ffb0a1b789827fc1acdf1e33ea91a0f Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 21 Nov 2012 12:53:02 +0000 Subject: [PATCH] Media: Ensure Attachments.mirror returns true. see #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22753 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/media-models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/media-models.js b/wp-includes/js/media-models.js index 59851402ac..e4779f8efc 100644 --- a/wp-includes/js/media-models.js +++ b/wp-includes/js/media-models.js @@ -425,7 +425,7 @@ window.wp = window.wp || {}; mirror: function( attachments ) { if ( this.mirroring && this.mirroring === attachments ) - return; + return this; this.unmirror(); this.mirroring = attachments;