From d8c942f26c78b74db919a0e086de5390d371f9a3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 2 Dec 2012 19:24:22 +0000 Subject: [PATCH] `wp.media` instead of just `media`. props alexkingorg, see #22676. git-svn-id: http://core.svn.wordpress.org/trunk@22974 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/plupload/wp-plupload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/plupload/wp-plupload.js b/wp-includes/js/plupload/wp-plupload.js index 9c631c2728..e3ef040acd 100644 --- a/wp-includes/js/plupload/wp-plupload.js +++ b/wp-includes/js/plupload/wp-plupload.js @@ -157,7 +157,7 @@ window.wp = window.wp || {}; date: new Date(), filename: file.name, menuOrder: 0, - uploadedTo: media.model.settings.postId + uploadedTo: wp.media.model.settings.postId }, _.pick( file, 'loaded', 'size', 'percent' ) ); // Handle early mime type scanning for images.